[devhelp] Window: remove unused GActions



commit bae06ec3854b418ca711aab96f492600a4d86a2a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Jan 28 16:32:11 2018 +0100

    Window: remove unused GActions

 src/dh-window.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index 4e4e022..3d0ec03 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -256,22 +256,6 @@ find_cb (GSimpleAction *action,
         do_search (window);
 }
 
-static void
-find_previous_cb (GSimpleAction *action,
-                  GVariant      *parameter,
-                  gpointer       user_data)
-{
-        findbar_find_previous (DH_WINDOW (user_data));
-}
-
-static void
-find_next_cb (GSimpleAction *action,
-              GVariant      *parameter,
-              gpointer       user_data)
-{
-        findbar_find_next (DH_WINDOW (user_data));
-}
-
 static int
 window_get_current_zoom_level_index (DhWindow *window)
 {
@@ -475,8 +459,6 @@ add_action_entries (DhWindow *window)
                 /* Edit */
                 { "copy", copy_cb },
                 { "find", find_cb },
-                { "find-previous", find_previous_cb },
-                { "find-next", find_next_cb },
 
                 /* View */
                 { "show-sidebar", NULL, NULL, "true", show_sidebar_change_state_cb },


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