From: Christian Dywan Date: Mon, 19 Mar 2012 18:08:11 +0000 (+0100) Subject: Fix MidoriView.download_requested signal in vapi X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edc88b7b47b598839120468605a150e760a0c092;p=midori Fix MidoriView.download_requested signal in vapi --- diff --git a/extensions/external-download-manager.vala b/extensions/external-download-manager.vala index 1dc5685b..c3717592 100644 --- a/extensions/external-download-manager.vala +++ b/extensions/external-download-manager.vala @@ -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 ("save-as-download") == null && download.get_data ("open-download") == null) { try { diff --git a/midori/midori.vapi b/midori/midori.vapi index c9f56597..c9d9f646 100644 --- a/midori/midori.vapi +++ b/midori/midori.vapi @@ -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); }