[epiphany/wip/gtkaction-to-gaction] ephy-window: remove redundant zoom code
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/gtkaction-to-gaction] ephy-window: remove redundant zoom code
- Date: Tue, 28 Jun 2016 11:54:11 +0000 (UTC)
commit 359c978aa3ded9106dd6c72e87d4d716367a3b40
Author: Iulian Radu <iulian radu67 gmail com>
Date: Tue Jun 28 14:53:45 2016 +0300
ephy-window: remove redundant zoom code
src/ephy-window.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 352e94c..e464be4 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -981,14 +981,6 @@ init_menu_updaters (EphyWindow *window)
}
static void
-zoom_to_level_cb (GSimpleAction *action,
- GVariant *value,
- gpointer user_data)
-{
- ephy_window_set_zoom (EPHY_WINDOW (user_data), g_variant_get_double (user_data));
-}
-
-static void
activate_toggle (GSimpleAction *action,
GVariant *parameter,
gpointer user_data)
@@ -1015,7 +1007,6 @@ static const GActionEntry window_entries [] =
{ "zoom-in", window_cmd_view_zoom_in },
{ "zoom-out", window_cmd_view_zoom_out },
{ "zoom-normal", window_cmd_view_zoom_normal },
- { "zoom", NULL, "d", "1.0", zoom_to_level_cb },
{ "print", window_cmd_file_print },
{ "find", window_cmd_edit_find },
{ "find-prev", window_cmd_edit_find_prev },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]