From: Nickolay V. Shmyrev Date: Sat, 1 Apr 2006 21:00:06 +0000 (+0000) Subject: Fix crash on exit, described in the bug #336825. X-Git-Tag: EVINCE_0_5_3~64 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=f0d4f37e3b6a3433c15e1e35236c1ccffeca4bee;p=evince.git 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. --- 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; }