Author: kelnos
Date: 2008-09-12 18:36:03 +0000 (Fri, 12 Sep 2008)
New Revision: 27832
Modified:
xfconf/trunk/xfconf/xfconf-channel.c
xfconf/trunk/xfconf/xfconf-channel.h
Log:
ok, this is the more or less correct way to declare that param, thanks
to jannis for his help.
yes, i'm way to nitpicky about this, and i should just not care.
Modified: xfconf/trunk/xfconf/xfconf-channel.c
===================================================================
--- xfconf/trunk/xfconf/xfconf-channel.c 2008-09-12 17:40:00 UTC (rev
27831)
+++ xfconf/trunk/xfconf/xfconf-channel.c 2008-09-12 18:36:03 UTC (rev
27832)
@@ -757,7 +757,7 @@
gboolean
xfconf_channel_set_string_list(XfconfChannel *channel,
const gchar *property,
- gchar * const *values)
+ const gchar * const *values)
{
GPtrArray *arr;
GValue *val;
Modified: xfconf/trunk/xfconf/xfconf-channel.h
===================================================================
--- xfconf/trunk/xfconf/xfconf-channel.h 2008-09-12 17:40:00 UTC (rev
27831)
+++ xfconf/trunk/xfconf/xfconf-channel.h 2008-09-12 18:36:03 UTC (rev
27832)
@@ -102,7 +102,7 @@
const gchar *property)
G_GNUC_WARN_UNUSED_RESULT;
gboolean xfconf_channel_set_string_list(XfconfChannel *channel,
const gchar *property,
- gchar * const *values);
+ const gchar * const *values);
/* really generic API - can set some value types that aren't
* supported by the basic type API, e.g., char, signed short,
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits