summaryrefslogtreecommitdiff
path: root/capplets/default-applications/mate-da-capplet.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/default-applications/mate-da-capplet.c')
-rw-r--r--capplets/default-applications/mate-da-capplet.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/capplets/default-applications/mate-da-capplet.c b/capplets/default-applications/mate-da-capplet.c
index 1e85e9b6..f70e0ee0 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/capplets/default-applications/mate-da-capplet.c
@@ -789,9 +789,10 @@ show_dialog(MateDACapplet* capplet, const gchar* start_page)
GtkNotebook* nb = GTK_NOTEBOOK(get_widget("preferred_apps_notebook"));
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 (capplet->window));
+ g_signal_connect (GTK_WIDGET (nb),
+ "scroll-event",
+ G_CALLBACK (capplet_notebook_scroll_event_cb),
+ NULL);
if (start_page != NULL)
{