[tepl] WindowActionsFile: rename a function



commit fc820b5f27614425356b98bf5e47d2819307a5e1
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun May 3 21:35:17 2020 +0200

    WindowActionsFile: rename a function

 tepl/tepl-window-actions-file.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tepl/tepl-window-actions-file.c b/tepl/tepl-window-actions-file.c
index e93f1f4..677c07d 100644
--- a/tepl/tepl-window-actions-file.c
+++ b/tepl/tepl-window-actions-file.c
@@ -25,9 +25,9 @@
 /* TeplApplicationWindow GActions for the File menu. */
 
 static void
-new_file_cb (GSimpleAction *action,
-            GVariant      *parameter,
-            gpointer       user_data)
+new_file_activate_cb (GSimpleAction *action,
+                     GVariant      *parameter,
+                     gpointer       user_data)
 {
        TeplApplicationWindow *tepl_window = TEPL_APPLICATION_WINDOW (user_data);
        TeplAbstractFactory *factory;
@@ -46,7 +46,7 @@ _tepl_window_actions_file_add_actions (TeplApplicationWindow *tepl_window)
        GtkApplicationWindow *gtk_window;
 
        const GActionEntry entries[] = {
-               { "tepl-new-file", new_file_cb },
+               { "tepl-new-file", new_file_activate_cb },
        };
 
        g_return_if_fail (TEPL_IS_APPLICATION_WINDOW (tepl_window));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]