summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-13 11:09:44 +0200
committerraveit65 <[email protected]>2020-07-21 11:39:20 +0200
commitc1d31a5b4b09fbccad8c3a51d26cd87b76dedd65 (patch)
tree41d8a7fab61709c0b3ef9dcb96a4a76e779c049e
parent7fb07bc91522438d8b8dfc22d558c4304cfe215a (diff)
downloadeom-c1d31a5b4b09fbccad8c3a51d26cd87b76dedd65.tar.bz2
eom-c1d31a5b4b09fbccad8c3a51d26cd87b76dedd65.tar.xz
Shorten the function name for notebook scroll-event
-rw-r--r--src/eom-preferences-dialog.c2
-rw-r--r--src/eom-properties-dialog.c2
-rw-r--r--src/eom-util.c4
-rw-r--r--src/eom-util.h2
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