From c1d31a5b4b09fbccad8c3a51d26cd87b76dedd65 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 13 Jul 2020 11:09:44 +0200 Subject: Shorten the function name for notebook scroll-event --- src/eom-preferences-dialog.c | 2 +- src/eom-properties-dialog.c | 2 +- src/eom-util.c | 4 ++-- src/eom-util.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/eom-preferences-dialog.c b/src/eom-preferences-dialog.c index 7b613b4..0d97502 100644 --- a/src/eom-preferences-dialog.c +++ b/src/eom-preferences-dialog.c @@ -327,7 +327,7 @@ eom_preferences_dialog_init (EomPreferencesDialog *pref_dlg) gtk_widget_add_events (priv->notebook, GDK_SCROLL_MASK); g_signal_connect (priv->notebook, "scroll-event", - G_CALLBACK (eom_notebook_page_scroll_event_cb), + G_CALLBACK (eom_notebook_scroll_event_cb), NULL); } diff --git a/src/eom-properties-dialog.c b/src/eom-properties-dialog.c index 3295b2e..67c3d6b 100644 --- a/src/eom-properties-dialog.c +++ b/src/eom-properties-dialog.c @@ -794,7 +794,7 @@ eom_properties_dialog_init (EomPropertiesDialog *prop_dlg) gtk_widget_add_events (priv->notebook, GDK_SCROLL_MASK); g_signal_connect (priv->notebook, "scroll-event", - G_CALLBACK (eom_notebook_page_scroll_event_cb), + G_CALLBACK (eom_notebook_scroll_event_cb), NULL); } diff --git a/src/eom-util.c b/src/eom-util.c index 21f6162..33bbe1a 100644 --- a/src/eom-util.c +++ b/src/eom-util.c @@ -429,8 +429,8 @@ eom_util_show_file_in_filemanager (GFile *file, GtkWindow *toplevel) } gboolean -eom_notebook_page_scroll_event_cb (GtkWidget *widget, - GdkEventScroll *event) +eom_notebook_scroll_event_cb (GtkWidget *widget, + GdkEventScroll *event) { GtkNotebook *notebook = GTK_NOTEBOOK (widget); diff --git a/src/eom-util.h b/src/eom-util.h index b713721..d08b88a 100644 --- a/src/eom-util.h +++ b/src/eom-util.h @@ -65,7 +65,7 @@ G_GNUC_INTERNAL void eom_util_show_file_in_filemanager (GFile *file, GtkWindow *toplevel); -gboolean eom_notebook_page_scroll_event_cb (GtkWidget *notebook, +gboolean eom_notebook_scroll_event_cb (GtkWidget *notebook, GdkEventScroll *event); G_END_DECLS -- cgit v1.2.1