[eog/wip/gaction-migration] EogWindow: remove zoom-fit action
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/wip/gaction-migration] EogWindow: remove zoom-fit action
- Date: Tue, 23 Dec 2014 16:55:28 +0000 (UTC)
commit 3aa22d49f74551051e4c0d86f3ecf3fd3240cb2c
Author: Jente Hidskes <hjdskes gmail com>
Date: Mon Dec 22 23:55:13 2014 +0100
EogWindow: remove zoom-fit action
https://bugzilla.gnome.org/show_bug.cgi?id=741050
src/eog-window.c | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 6d142a4..9f25953 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -3933,25 +3933,6 @@ eog_window_action_go_random (GSimpleAction *action,
}
static void
-eog_window_action_zoom_best_fit (GSimpleAction *action,
- GVariant *parameter,
- gpointer user_data)
-{
- EogWindowPrivate *priv;
-
- g_return_if_fail (EOG_IS_WINDOW (user_data));
-
- eog_debug (DEBUG_WINDOW);
-
- priv = EOG_WINDOW (user_data)->priv;
-
- if (priv->view) {
- eog_scroll_view_set_zoom_mode (EOG_SCROLL_VIEW (priv->view),
- EOG_ZOOM_MODE_SHRINK_TO_FIT);
- }
-}
-
-static void
eog_window_action_set_zoom (GSimpleAction *action,
GVariant *parameter,
gpointer user_data)
@@ -4014,7 +3995,6 @@ static const GActionEntry window_actions[] = {
{ "undo", eog_window_action_undo },
{ "zoom-in", eog_window_action_zoom_in },
{ "zoom-out", eog_window_action_zoom_out },
- { "zoom-fit", eog_window_action_zoom_best_fit },
{ "zoom-normal", eog_window_action_zoom_normal },
{ "zoom-set", eog_window_action_set_zoom, "d" },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]