From 2e6280dbe736802fa10378add2134017dc54a66c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Aliste?= Date: Tue, 28 May 2013 00:02:06 -0400 Subject: 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 --- shell/ev-window.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'shell') 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); -- cgit v1.2.1