summaryrefslogtreecommitdiff
path: root/capplets/mouse/mate-mouse-properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/mouse/mate-mouse-properties.c')
-rw-r--r--capplets/mouse/mate-mouse-properties.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c
index a3c06e60..09ee47a7 100644
--- a/capplets/mouse/mate-mouse-properties.c
+++ b/capplets/mouse/mate-mouse-properties.c
@@ -465,9 +465,10 @@ main (int argc, char **argv)
GtkNotebook* nb = GTK_NOTEBOOK (WID ("prefs_widget"));
gtk_widget_add_events (GTK_WIDGET (nb), GDK_SCROLL_MASK);
- g_signal_connect (GTK_WIDGET (nb), "scroll-event",
- G_CALLBACK (capplet_dialog_page_scroll_event_cb),
- GTK_WINDOW (dialog_win));
+ g_signal_connect (GTK_WIDGET (nb),
+ "scroll-event",
+ G_CALLBACK (capplet_notebook_scroll_event_cb),
+ NULL);
if (start_page != NULL) {