summaryrefslogtreecommitdiff
path: root/capplets/appearance
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-06-29 18:06:33 +0200
committerraveit65 <[email protected]>2020-07-08 16:50:57 +0200
commit90f0f5c59768a3eee3f9529695f68cd45a9e5844 (patch)
tree45bf27cec0fb0f72fe61a776df7f38008eafadd8 /capplets/appearance
parent0657cd03d2cfbeb09164db42f85bd5d2329919ff (diff)
downloadmate-control-center-90f0f5c59768a3eee3f9529695f68cd45a9e5844.tar.bz2
mate-control-center-90f0f5c59768a3eee3f9529695f68cd45a9e5844.tar.xz
Remove unused variable from capplet_notebook_scroll_event_cb
Diffstat (limited to 'capplets/appearance')
-rw-r--r--capplets/appearance/appearance-main.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/capplets/appearance/appearance-main.c b/capplets/appearance/appearance-main.c
index 031040d8..4574aaed 100644
--- a/capplets/appearance/appearance-main.c
+++ b/capplets/appearance/appearance-main.c
@@ -208,9 +208,10 @@ main (int argc, char **argv)
nb = appearance_capplet_get_widget (data, "main_notebook");
gtk_widget_add_events (nb, GDK_SCROLL_MASK);
- g_signal_connect (nb, "scroll-event",
- G_CALLBACK (capplet_dialog_page_scroll_event_cb),
- GTK_WINDOW (w));
+ g_signal_connect (nb,
+ "scroll-event",
+ G_CALLBACK (capplet_notebook_scroll_event_cb),
+ NULL);
if (start_page != NULL) {
gchar *page_name;
@@ -242,9 +243,10 @@ main (int argc, char **argv)
nb_custom_theme = appearance_capplet_get_widget (data, "notebook2");
gtk_widget_add_events (nb_custom_theme, GDK_SCROLL_MASK);
- g_signal_connect (nb_custom_theme, "scroll-event",
- G_CALLBACK (capplet_dialog_page_scroll_event_cb),
- GTK_WINDOW (w));
+ g_signal_connect (nb_custom_theme,
+ "scroll-event",
+ G_CALLBACK (capplet_notebook_scroll_event_cb),
+ NULL);
/* start the mainloop */
gtk_main ();