Updating branch refs/heads/master
         to 2dc0f0b02dbb8be00632f9a75b7aaef8e050e4a0 (commit)
       from bba5c29e436b4cfc965d95d2bb871d5fc97f7d1f (commit)

commit 2dc0f0b02dbb8be00632f9a75b7aaef8e050e4a0
Author: Nick Schermer <[email protected]>
Date:   Tue Feb 9 19:32:11 2010 +0100

    Release the current channel on exit.

 xfce4-settings-editor/main_window.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/xfce4-settings-editor/main_window.c 
b/xfce4-settings-editor/main_window.c
index e51aa4f..5d659c7 100644
--- a/xfce4-settings-editor/main_window.c
+++ b/xfce4-settings-editor/main_window.c
@@ -945,6 +945,12 @@ cb_settings_editor_dialog_response (GtkWidget *dialog, 
gint response, GtkBuilder
     xfconf_channel_set_int (channel, "/hpaned-position", 
gtk_paned_get_position (GTK_PANED (hpaned)));
 
     gtk_widget_destroy (dialog);
+
+    if (current_channel)
+    {
+        g_object_unref (G_OBJECT(current_channel));
+        current_channel = NULL;
+    }
 }
 
 static void
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to