[Xfce4-commits] r26903 - xfconf/trunk/xfconf

Stephan Arts stephan at xfce.org
Wed Apr 30 00:48:24 CEST 2008


Author: stephan
Date: 2008-04-29 22:48:24 +0000 (Tue, 29 Apr 2008)
New Revision: 26903

Modified:
   xfconf/trunk/xfconf/xfconf-channel.c
Log:
xfconf_channel_set_uint works better when it writes uints to the gvalue instead of ints


Modified: xfconf/trunk/xfconf/xfconf-channel.c
===================================================================
--- xfconf/trunk/xfconf/xfconf-channel.c	2008-04-29 22:37:02 UTC (rev 26902)
+++ xfconf/trunk/xfconf/xfconf-channel.c	2008-04-29 22:48:24 UTC (rev 26903)
@@ -784,7 +784,7 @@
     g_return_val_if_fail(XFCONF_IS_CHANNEL(channel) && property, FALSE);
 
     g_value_init(&val, G_TYPE_UINT);
-    g_value_set_int(&val, value);
+    g_value_set_uint(&val, value);
 
     ret = xfconf_client_set_property(proxy, channel->channel_name, property,
                                      &val, ERROR);



More information about the Xfce4-commits mailing list