From edc88b7b47b598839120468605a150e760a0c092 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 19 Mar 2012 19:08:11 +0100 Subject: [PATCH] Fix MidoriView.download_requested signal in vapi --- extensions/external-download-manager.vala | 3 +-- midori/midori.vapi | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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); } -- 2.39.5