summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Aliste <[email protected]>2013-05-28 00:02:06 -0400
committerraveit65 <[email protected]>2017-11-22 17:51:12 +0100
commit2e6280dbe736802fa10378add2134017dc54a66c (patch)
tree0c45426be863b51a39d4564f90240c732b7efb0c
parent6a28b5037cf06f218c7fde1a3dc046743ad4971e (diff)
downloadatril-2e6280dbe736802fa10378add2134017dc54a66c.tar.bz2
atril-2e6280dbe736802fa10378add2134017dc54a66c.tar.xz
shell: remove view_actions_focus_out_cb
It is now doing nothing origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=b0f7bfe
-rw-r--r--shell/ev-window.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 4899ea5e..2359f702 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6711,12 +6711,6 @@ view_actions_focus_in_cb (GtkWidget *widget, GdkEventFocus *event, EvWindow *win
return FALSE;
}
-static gboolean
-view_actions_focus_out_cb (GtkWidget *widget, GdkEventFocus *event, EvWindow *window)
-{
- return FALSE;
-}
-
static void
sidebar_page_main_widget_update_cb (GObject *ev_sidebar_page,
GParamSpec *pspec,
@@ -6730,9 +6724,6 @@ sidebar_page_main_widget_update_cb (GObject *ev_sidebar_page,
g_signal_connect_object (widget, "focus_in_event",
G_CALLBACK (view_actions_focus_in_cb),
ev_window, 0);
- g_signal_connect_object (widget, "focus_out_event",
- G_CALLBACK (view_actions_focus_out_cb),
- ev_window, 0);
g_object_unref (widget);
}
}
@@ -7966,9 +7957,6 @@ ev_window_init (EvWindow *ev_window)
g_signal_connect_object (ev_window->priv->view, "focus_in_event",
G_CALLBACK (view_actions_focus_in_cb),
ev_window, 0);
- g_signal_connect_object (ev_window->priv->view, "focus_out_event",
- G_CALLBACK (view_actions_focus_out_cb),
- ev_window, 0);
g_signal_connect_swapped (ev_window->priv->view, "external-link",
G_CALLBACK (view_external_link_cb),
ev_window);