Fix MidoriView.download_requested signal in vapi

This commit is contained in:
Christian Dywan 2012-03-19 19:08:11 +01:00
parent 5aa526d106
commit edc88b7b47
2 changed files with 2 additions and 3 deletions

View file

@ -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 {

View file

@ -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);
}