From: Jonathan Blandford Date: Fri, 18 Feb 2005 21:07:58 +0000 (+0000) Subject: missed a case. X-Git-Tag: EVINCE_0_1_5~38 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=7780155da0fdc8d68a13196bcc62682bb36053a0;p=evince.git missed a case. Fri Feb 18 16:06:39 2005 Jonathan Blandford * shell/ev-window.c (ev_window_focus_in_event): missed a case. --- diff --git a/ChangeLog b/ChangeLog index 0a3820f2..bc34f870 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Feb 18 16:06:39 2005 Jonathan Blandford + + * shell/ev-window.c (ev_window_focus_in_event): missed a case. + Fri Feb 18 15:32:57 2005 Jonathan Blandford * shell/ev-window.c: Change the fullscreen toolbar to always be in diff --git a/shell/ev-window.c b/shell/ev-window.c index dd554a14..d114f412 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1275,7 +1275,7 @@ ev_window_focus_in_event (GtkWidget *widget, GdkEventFocus *event) EvWindow *window = EV_WINDOW (widget); EvWindowPrivate *priv = window->priv; - if (priv->fullscreen_popup != NULL) + if (priv->fullscreen_mode) { gtk_widget_show (priv->fullscreen_popup); } @@ -1289,7 +1289,7 @@ ev_window_focus_out_event (GtkWidget *widget, GdkEventFocus *event) EvWindow *window = EV_WINDOW (widget); EvWindowPrivate *priv = window->priv; - if (priv->fullscreen_popup != NULL) + if (priv->fullscreen_mode) { gtk_widget_hide (priv->fullscreen_popup); }