[Xfce4-commits] <midori:master> Guard browser delete-event against GTK+2/3 difference
Christian Dywan
noreply at xfce.org
Fri Apr 26 19:42:01 CEST 2013
Updating branch refs/heads/master
to e5aba6e10f0e5482878be919cc9354f695d2c3f4 (commit)
from 3325a70f607ab39091d8a61526efb8265a595864 (commit)
commit e5aba6e10f0e5482878be919cc9354f695d2c3f4
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Apr 26 19:04:08 2013 +0200
Guard browser delete-event against GTK+2/3 difference
Fixes: https://bugs.launchpad.net/midori/+bug/1172538
extensions/transfers.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/extensions/transfers.vala b/extensions/transfers.vala
index adc948c..a4fcd4b 100644
--- a/extensions/transfers.vala
+++ b/extensions/transfers.vala
@@ -439,7 +439,11 @@ namespace Transfers {
transfer.removed ();
}
+#if HAVE_GTK3
bool browser_closed (Gtk.Widget widget, Gdk.EventAny event) {
+#else
+ bool browser_closed (Gtk.Widget widget, Gdk.Event event) {
+#endif
var browser = widget as Midori.Browser;
bool pending_downloads = false;
foreach (GLib.Object item in array.get_items ()) {
More information about the Xfce4-commits
mailing list