[epiphany/wip/gtkaction-to-gaction] Use a more suggestive name for 'browse-with-caret' callback.



commit bdf61a8c6c5d44db070c552c9b3e282c4fabc696
Author: Iulian Radu <iulian radu67 gmail com>
Date:   Fri Jul 1 22:57:34 2016 +0300

    Use a more suggestive name for 'browse-with-caret'
    callback.

 src/ephy-window.c     |    2 +-
 src/window-commands.c |    6 +-
 src/window-commands.h |  294 ++++++++++++++++++++++++------------------------
 3 files changed, 151 insertions(+), 151 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 1d86348..c9f5173 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -931,7 +931,7 @@ static const GActionEntry window_entries [] =
   { "location", window_cmd_go_location },
 
   /* Toggle actions */
-  { "browse-with-caret", NULL, NULL, "false", window_cmd_change_browse_with_caret },
+  { "browse-with-caret", NULL, NULL, "false", window_cmd_change_browse_with_caret_state },
   { "fullscreen", NULL, NULL, "false", window_cmd_change_fullscreen_state },
   { "allow-popup-windows", NULL, NULL, "true", ephy_window_change_allow_popup_windows_state }
 };
diff --git a/src/window-commands.c b/src/window-commands.c
index 0653455..14cb1bc 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -1693,9 +1693,9 @@ window_cmd_load_location (GSimpleAction *action,
 }
 
 void
-window_cmd_change_browse_with_caret (GSimpleAction *action,
-                                     GVariant      *state,
-                                     gpointer       user_data)
+window_cmd_change_browse_with_caret_state (GSimpleAction *action,
+                                           GVariant      *state,
+                                           gpointer       user_data)
 {
   EphyWindow *window = EPHY_WINDOW (user_data);
   gboolean active;
diff --git a/src/window-commands.h b/src/window-commands.h
index d36e77b..534e2b0 100644
--- a/src/window-commands.h
+++ b/src/window-commands.h
@@ -24,153 +24,153 @@
 
 G_BEGIN_DECLS
 
-void window_cmd_new_window                (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_new_incognito_window      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_show_bookmarks            (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_show_history              (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_show_preferences          (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_show_help                 (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_show_about                (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_quit                      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_reopen_closed_tab         (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_navigation                (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_navigation_new_tab        (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_stop                      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_reload                    (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_combined_stop_reload      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_new_tab                   (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_open                      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_save_as                   (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_save_as_application       (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_undo                      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_redo                      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_cut                       (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_copy                      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_paste                     (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_delete                    (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_print                     (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_find                      (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_find_prev                 (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_find_next                 (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_open_bookmark             (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_bookmark_page             (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_zoom_in                   (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_zoom_out                  (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_zoom_normal               (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_encoding                  (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_page_source               (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_toggle_inspector          (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_select_all                (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_send_to                   (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_go_location               (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_load_location             (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
-void window_cmd_change_browse_with_caret  (GSimpleAction *action,
-                                           GVariant      *state,
-                                           gpointer       user_data);
-void window_cmd_change_fullscreen_state   (GSimpleAction *action,
-                                           GVariant      *state,
-                                           gpointer       user_data);
-void window_cmd_tabs_previous             (GSimpleAction *action,
-                                           GVariant      *state,
-                                           gpointer       user_data);
-void window_cmd_tabs_next                 (GSimpleAction *action,
-                                           GVariant      *state,
-                                           gpointer       user_data);
-void window_cmd_tabs_move_left            (GSimpleAction *action,
-                                           GVariant      *state,
-                                           gpointer       user_data);
-void window_cmd_tabs_move_right           (GSimpleAction *action,
-                                           GVariant      *state,
-                                           gpointer       user_data);
-void window_cmd_tabs_duplicate            (GSimpleAction *action,
-                                           GVariant      *state,
-                                           gpointer       user_data);
-void window_cmd_tabs_detach               (GSimpleAction *action,
-                                           GVariant      *state,
-                                           gpointer       user_data);
-void window_cmd_tabs_close                (GSimpleAction *action,
-                                           GVariant      *parameter,
-                                           gpointer       user_data);
+void window_cmd_new_window                      (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_new_incognito_window            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_show_bookmarks                  (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_show_history                    (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_show_preferences                (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_show_help                       (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_show_about                      (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_quit                            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_reopen_closed_tab               (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_navigation                      (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_navigation_new_tab              (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_stop                            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_reload                          (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_combined_stop_reload            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_new_tab                         (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_open                            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_save_as                         (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_save_as_application             (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_undo                            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_redo                            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_cut                             (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_copy                            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_paste                           (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_delete                          (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_print                           (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_find                            (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_find_prev                       (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_find_next                       (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_open_bookmark                   (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_bookmark_page                   (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_zoom_in                         (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_zoom_out                        (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_zoom_normal                     (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_encoding                        (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_page_source                     (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_toggle_inspector                (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_select_all                      (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_send_to                         (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_go_location                     (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_load_location                   (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
+void window_cmd_change_browse_with_caret_state  (GSimpleAction *action,
+                                                 GVariant      *state,
+                                                 gpointer       user_data);
+void window_cmd_change_fullscreen_state         (GSimpleAction *action,
+                                                 GVariant      *state,
+                                                 gpointer       user_data);
+void window_cmd_tabs_previous                   (GSimpleAction *action,
+                                                 GVariant      *state,
+                                                 gpointer       user_data);
+void window_cmd_tabs_next                       (GSimpleAction *action,
+                                                 GVariant      *state,
+                                                 gpointer       user_data);
+void window_cmd_tabs_move_left                  (GSimpleAction *action,
+                                                 GVariant      *state,
+                                                gpointer       user_data);
+void window_cmd_tabs_move_right                 (GSimpleAction *action,
+                                                 GVariant      *state,
+                                                 gpointer       user_data);
+void window_cmd_tabs_duplicate                  (GSimpleAction *action,
+                                                 GVariant      *state,
+                                                 gpointer       user_data);
+void window_cmd_tabs_detach                     (GSimpleAction *action,
+                                                 GVariant      *state,
+                                                 gpointer       user_data);
+void window_cmd_tabs_close                      (GSimpleAction *action,
+                                                 GVariant      *parameter,
+                                                 gpointer       user_data);
 G_END_DECLS
 
 #endif


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