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);
static void
mouse_gestures_deactivate_cb (MidoriExtension* extension,
- MidoriBrowser* browser)
+ MidoriBrowser* browser)
{
MidoriApp* app = midori_extension_get_app (extension);