[Xfce4-commits] <ristretto:ristretto-0.6> Clean up the thumbnailer on shutdown
Stephan Arts
noreply at xfce.org
Sat Aug 4 22:32:04 CEST 2012
Updating branch refs/heads/ristretto-0.6
to 0289e8b8dfd993a75f6bff589e27ccb889912aa4 (commit)
from 6b221241e563aa891cbbfd87f4eb01d92354dc4c (commit)
commit 0289e8b8dfd993a75f6bff589e27ccb889912aa4
Author: Stephan Arts <stephan at xfce.org>
Date: Sat Aug 4 22:09:23 2012 +0200
Clean up the thumbnailer on shutdown
src/main_window.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main_window.c b/src/main_window.c
index 2e9b1f3..e4a3a2b 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -1175,6 +1175,12 @@ rstto_main_window_dispose(GObject *object)
g_object_unref (window->priv->filter);
window->priv->filter= NULL;
}
+
+ if (window->priv->thumbnailer)
+ {
+ g_object_unref (window->priv->thumbnailer);
+ window->priv->thumbnailer = NULL;
+ }
g_free (window->priv);
window->priv = NULL;
}
More information about the Xfce4-commits
mailing list