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 {
|
private class Manager : Midori.Extension {
|
||||||
public bool download_requested (Midori.View view,
|
public bool download_requested (Midori.View view, WebKit.Download download) {
|
||||||
WebKit.Download download, Midori.Browser browser) {
|
|
||||||
if (download.get_data<void*> ("save-as-download") == null
|
if (download.get_data<void*> ("save-as-download") == null
|
||||||
&& download.get_data<void*> ("open-download") == null) {
|
&& download.get_data<void*> ("open-download") == null) {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -164,7 +164,7 @@ namespace Midori {
|
||||||
public GLib.Object net { get; }
|
public GLib.Object net { get; }
|
||||||
|
|
||||||
[HasEmitter]
|
[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