[Xfce4-commits] <xfce4-settings:master> Unset values at the end of (update_iter), no reset.

Jérôme Guelfucci noreply at xfce.org
Tue Jan 19 19:34:42 CET 2010


Updating branch refs/heads/master
         to 04a25015d92111cebfb12c049ba145e203d74264 (commit)
       from a46ffb66beefdf65983880551da20b101b8be991 (commit)

commit 04a25015d92111cebfb12c049ba145e203d74264
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Sat Jan 16 14:52:34 2010 +0100

    Unset values at the end of (update_iter), no reset.

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

diff --git a/xfce4-settings-editor/main_window.c b/xfce4-settings-editor/main_window.c
index 6aa880f..4f25dce 100644
--- a/xfce4-settings-editor/main_window.c
+++ b/xfce4-settings-editor/main_window.c
@@ -313,14 +313,14 @@ static void update_iter (gboolean empty, XfconfChannel *channel, gchar *key, Gtk
         g_value_set_string (&child_type, _("Empty"));
 
     gtk_tree_store_set_value (store, child_iter, 1, &child_type);
-    g_value_reset (&child_type);
+    g_value_unset (&child_type);
 
     g_value_set_boolean (&child_locked, xfconf_channel_is_property_locked (channel, key));
     gtk_tree_store_set_value (store, child_iter, 2, &child_locked);
-    g_value_reset (&child_locked);
+    g_value_unset (&child_locked);
 
     gtk_tree_store_set_value (store, child_iter, 3, &child_value);
-    g_value_reset (&child_value);
+    g_value_unset (&child_value);
 }
 
 /**



More information about the Xfce4-commits mailing list