[Xfce4-commits] <xfce4-session:master> Unref the builder at the end of the program.

Nick Schermer noreply at xfce.org
Thu Jan 28 19:52:19 CET 2010


Updating branch refs/heads/master
         to b42cf9f4297a0aa69678c842e72aee9f77eedfc8 (commit)
       from 339121445f484ec5b4e3a1584caa06da1ad6f06f (commit)

commit b42cf9f4297a0aa69678c842e72aee9f77eedfc8
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Mon Jan 25 23:50:45 2010 +0100

    Unref the builder at the end of the program.

 settings/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/settings/main.c b/settings/main.c
index 93c0498..71eb929 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -150,13 +150,13 @@ main(int argc,
         gtk_widget_reparent(plug_child, plug);
         gtk_widget_show(plug_child);
 
-        g_object_unref(builder);
-
         /* Stop startup notification */
         gdk_notify_startup_complete();
 
         gtk_main();
     }
 
+    g_object_unref(builder);
+
     return EXIT_SUCCESS;
 }



More information about the Xfce4-commits mailing list