Fix MidoriView.download_requested signal in vapi
This commit is contained in:
parent
5aa526d106
commit
edc88b7b47
2 changed files with 2 additions and 3 deletions
|
@ -20,8 +20,7 @@ namespace EDM {
|
|||
}
|
||||
|
||||
private class Manager : Midori.Extension {
|
||||
public bool download_requested (Midori.View view,
|
||||
WebKit.Download download, Midori.Browser browser) {
|
||||
public bool download_requested (Midori.View view, WebKit.Download download) {
|
||||
if (download.get_data<void*> ("save-as-download") == null
|
||||
&& download.get_data<void*> ("open-download") == null) {
|
||||
try {
|
||||
|
|
|
@ -164,7 +164,7 @@ namespace Midori {
|
|||
public GLib.Object net { get; }
|
||||
|
||||
[HasEmitter]
|
||||
public signal bool download_requested (WebKit.Download download, Midori.Browser browser);
|
||||
public signal bool download_requested (WebKit.Download download);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue