From d5e6e7f1f6f1127833a33102b07fe3717f8f2d9f Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Sat, 9 Jun 2007 09:17:24 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ shell/ev-window.c | 3 +++ 2 files changed, 9 insertions(+) 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)); -- 2.43.5