]> www.fi.muni.cz Git - evince.git/commitdiff
These has a return value! Fix totally random focus issues we was seeing.
authorMarco Pesenti Gritti <mpg@redhat.com>
Mon, 11 Jul 2005 15:47:09 +0000 (15:47 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Mon, 11 Jul 2005 15:47:09 +0000 (15:47 +0000)
2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>

        * shell/ev-window.c: (view_actions_focus_in_cb),
        (view_actions_focus_out_cb):

        These has a return value! Fix totally random focus
        issues we was seeing.

ChangeLog
shell/ev-window.c

index efaa2d2a9de55ca413ad7fbe1675f50de03d965f..82b59049a22829ee1557e40ca5a6e6041a9f7711 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-07-11  Marco Pesenti Gritti  <mpg@redhat.com>
+
+       * shell/ev-window.c: (view_actions_focus_in_cb),
+       (view_actions_focus_out_cb):
+
+       These has a return value! Fix totally random focus
+       issues we was seeing.
+
 2005-07-11  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * shell/main.c: (load_files_remote):
index c98fdc93c68b23dc7cae289aaa2805b51a800779..cc5e73910f8796fe356f6943c151555d366c020f 100644 (file)
@@ -3096,19 +3096,23 @@ set_view_actions_sensitivity (EvWindow *window, gboolean sensitive)
        }
 }
 
-static void
+static gboolean
 view_actions_focus_in_cb (GtkWidget *widget, GdkEventFocus *event, EvWindow *window)
 {
        update_chrome_flag (window, EV_CHROME_RAISE_TOOLBAR, NULL, FALSE);
        set_action_sensitive (window, "ViewToolbar", TRUE);
 
        set_view_actions_sensitivity (window, TRUE);
+
+       return FALSE;
 }
 
-static void
+static gboolean
 view_actions_focus_out_cb (GtkWidget *widget, GdkEventFocus *event, EvWindow *window)
 {
        set_view_actions_sensitivity (window, FALSE);
+
+       return FALSE;
 }
 
 static void