From: Nickolay V. Shmyrev Date: Sat, 9 Jun 2007 09:17:24 +0000 (+0000) Subject: Check if history is NULL X-Git-Tag: EVINCE_0_8_2~15 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=d5e6e7f1f6f1127833a33102b07fe3717f8f2d9f;p=evince.git Check if history is NULL 2007-06-09 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_add_history): Check if history is NULL svn path=/branches/gnome-2-18/; revision=2490 --- diff --git a/ChangeLog b/ChangeLog index 6824ff98..d5e46c89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-06-09 Nickolay V. Shmyrev + + * shell/ev-window.c: (ev_window_add_history): + + Check if history is NULL + 2007-06-05 Bastien Nocera * shell/ev-metadata-manager.c: (ev_metadata_arm_timeout), diff --git a/shell/ev-window.c b/shell/ev-window.c index d8cd629a..722c8716 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -700,6 +700,9 @@ ev_window_add_history (EvWindow *window, gint page, EvLink *link) EvLink *real_link; EvLinkAction *action; EvLinkDest *dest; + + if (window->priv->history == NULL) + return; if (link) { action = g_object_ref (ev_link_get_action (link));