]> spindle.queued.net Git - midori/commitdiff
Fix signature of signal disconnection in Mouse Gestures
authorChristian Dywan <christian@twotoasts.de>
Tue, 17 Nov 2009 17:49:53 +0000 (18:49 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 17 Nov 2009 18:18:14 +0000 (19:18 +0100)
extensions/mouse-gestures.c

index 2c35129dd9e310fee47bbeba7c1a63d6f55ce8c2..b6bddbc550528d07c0e79d9c5994efbe6ba7d1d5 100644 (file)
@@ -191,9 +191,9 @@ mouse_gestures_add_tab_cb (MidoriBrowser*   browser,
 
     g_object_connect (web_view,
         "signal::button-press-event",
-        mouse_gestures_button_press_event_cb, extension,
+        mouse_gestures_button_press_event_cb, browser,
         "signal::motion-notify-event",
-        mouse_gestures_motion_notify_event_cb, extension,
+        mouse_gestures_motion_notify_event_cb, browser,
         "signal::button-release-event",
         mouse_gestures_button_release_event_cb, browser,
         NULL);
@@ -242,7 +242,7 @@ mouse_gestures_deactivate_tabs (MidoriView*    view,
 
 static void
 mouse_gestures_deactivate_cb (MidoriExtension* extension,
-                         MidoriBrowser*   browser)
+                              MidoriBrowser*   browser)
 {
     MidoriApp* app = midori_extension_get_app (extension);