[Xfce4-commits] <ristretto:master> Set singleton storage-object to NULL on finalize

Stephan Arts noreply at xfce.org
Wed Nov 23 06:52:05 CET 2011


Updating branch refs/heads/master
         to d1008cd61d86985a01f3c13af379fdd8209a6638 (commit)
       from e51e44fde610ddd55236076d353395ed7abc778c (commit)

commit d1008cd61d86985a01f3c13af379fdd8209a6638
Author: Stephan Arts <stephan at xfce.org>
Date:   Tue Nov 15 09:57:14 2011 +0100

    Set singleton storage-object to NULL on finalize

 src/xfce_wallpaper_manager.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/xfce_wallpaper_manager.c b/src/xfce_wallpaper_manager.c
index 9c66ce5..68c9735 100644
--- a/src/xfce_wallpaper_manager.c
+++ b/src/xfce_wallpaper_manager.c
@@ -602,6 +602,10 @@ rstto_xfce_wallpaper_manager_dispose (GObject *object)
 static void
 rstto_xfce_wallpaper_manager_finalize (GObject *object)
 {
+    if (xfce_wallpaper_manager_object)
+    {
+        xfce_wallpaper_manager_object = NULL;
+    }
 }
 
 


More information about the Xfce4-commits mailing list