[Xfce4-commits] <ristretto:master> Clean up the thumbnailer on shutdown

Stephan Arts noreply at xfce.org
Sat Aug 4 22:10:01 CEST 2012


Updating branch refs/heads/master
         to cedb7b57d08b2642970773a827de1d49d78b5e2e (commit)
       from 90f831384b05a30b62a170415771579af6524109 (commit)

commit cedb7b57d08b2642970773a827de1d49d78b5e2e
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