From 90f0f5c59768a3eee3f9529695f68cd45a9e5844 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 29 Jun 2020 18:06:33 +0200 Subject: Remove unused variable from capplet_notebook_scroll_event_cb --- capplets/network/mate-network-properties.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'capplets/network') diff --git a/capplets/network/mate-network-properties.c b/capplets/network/mate-network-properties.c index 8400e822..a4d546e9 100644 --- a/capplets/network/mate-network-properties.c +++ b/capplets/network/mate-network-properties.c @@ -482,9 +482,10 @@ main (int argc, char **argv) GtkNotebook* nb = GTK_NOTEBOOK (_gtk_builder_get_widget (builder, "notebook1")); 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 (widget)); + g_signal_connect (GTK_WIDGET (nb), + "scroll-event", + G_CALLBACK (capplet_notebook_scroll_event_cb), + NULL); capplet_set_icon (widget, "network-server"); gtk_widget_show_all (widget); -- cgit v1.2.1