From f0d4f37e3b6a3433c15e1e35236c1ccffeca4bee Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Sat, 1 Apr 2006 21:00:06 +0000 Subject: [PATCH] Fix crash on exit, described in the bug #336825. 2006-04-02 Nickolay V. Shmyrev * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose): Fix crash on exit, described in the bug #336825. --- ChangeLog | 6 ++++++ shell/ev-sidebar-thumbnails.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 68b1554a..ba35ec27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-02 Nickolay V. Shmyrev + + * shell/ev-sidebar-thumbnails.c: (ev_sidebar_thumbnails_dispose): + + Fix crash on exit, described in the bug #336825. + 2006-03-31 Nickolay V. Shmyrev * backend/ev-document-factory.c: diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 6ed20a21..ac449d83 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -102,13 +102,13 @@ ev_sidebar_thumbnails_dispose (GObject *object) { EvSidebarThumbnails *sidebar_thumbnails = EV_SIDEBAR_THUMBNAILS (object); - ev_sidebar_thumbnails_clear_model (sidebar_thumbnails); if (sidebar_thumbnails->priv->loading_icon) { g_object_unref (sidebar_thumbnails->priv->loading_icon); sidebar_thumbnails->priv->loading_icon = NULL; } if (sidebar_thumbnails->priv->list_store) { + ev_sidebar_thumbnails_clear_model (sidebar_thumbnails); g_object_unref (sidebar_thumbnails->priv->list_store); sidebar_thumbnails->priv->list_store = NULL; } -- 2.43.5