summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-06-29 20:31:59 +0200
committerraveit65 <[email protected]>2022-07-21 17:40:04 +0200
commit227c607fc5eb62e0c01725c0918f0291f96658d6 (patch)
tree12672856bfbf95c67449a7fbf7162994d07dde82 /src
parent48c9abdf973f1c36e6753698f78715097a31c470 (diff)
downloadcaja-227c607fc5eb62e0c01725c0918f0291f96658d6.tar.bz2
caja-227c607fc5eb62e0c01725c0918f0291f96658d6.tar.xz
Remove unused variable from eel_notebook_scroll_event_cb
Diffstat (limited to 'src')
-rw-r--r--src/caja-file-management-properties.c9
-rw-r--r--src/file-manager/fm-properties-window.c4
2 files changed, 7 insertions, 6 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c
index 5a814315..93a98677 100644
--- a/src/caja-file-management-properties.c
+++ b/src/caja-file-management-properties.c
@@ -1246,10 +1246,11 @@ caja_file_management_properties_dialog_setup (GtkBuilder *builder, GtkWindow *wi
}
GtkWidget *notebook = GTK_WIDGET (gtk_builder_get_object (builder, "notebook1"));
- gtk_widget_add_events (GTK_WIDGET (notebook), GDK_SCROLL_MASK);
- g_signal_connect (GTK_WIDGET (notebook), "scroll-event",
- G_CALLBACK (eel_dialog_page_scroll_event_callback),
- window);
+ gtk_widget_add_events (notebook, GDK_SCROLL_MASK);
+ g_signal_connect (notebook,
+ "scroll-event",
+ G_CALLBACK (eel_notebook_scroll_event_cb),
+ NULL);
gtk_widget_show (dialog);
}
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index b2e74b02..5fe5a5a3 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -5225,8 +5225,8 @@ create_properties_window (StartupData *startup_data)
gtk_widget_add_events (GTK_WIDGET (window->details->notebook), GDK_SCROLL_MASK);
g_signal_connect (window->details->notebook,
"scroll-event",
- G_CALLBACK (eel_dialog_page_scroll_event_callback),
- window);
+ G_CALLBACK (eel_notebook_scroll_event_cb),
+ NULL);
gtk_widget_show (GTK_WIDGET (window->details->notebook));
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (window))),