summaryrefslogtreecommitdiff
path: root/tests/testgconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testgconf.c')
-rw-r--r--tests/testgconf.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/testgconf.c b/tests/testgconf.c
index 080e684b..79e09e48 100644
--- a/tests/testgconf.c
+++ b/tests/testgconf.c
@@ -800,6 +800,9 @@ list_of_floats(void)
}
+/* FIXME: change the list of floats to bool for now since dbus doesn't work well
+ * with lists of doubles.
+ */
static void
check_list_storage(GConfEngine* conf)
{
@@ -808,7 +811,8 @@ check_list_storage(GConfEngine* conf)
guint i;
GConfValueType list_types[] = { GCONF_VALUE_INT, GCONF_VALUE_INT,
GCONF_VALUE_STRING, GCONF_VALUE_STRING,
- GCONF_VALUE_FLOAT, GCONF_VALUE_FLOAT,
+ /*GCONF_VALUE_FLOAT, GCONF_VALUE_FLOAT,*/
+ GCONF_VALUE_BOOL, GCONF_VALUE_BOOL,
GCONF_VALUE_BOOL, GCONF_VALUE_BOOL };
GSList* lists[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
const guint n_lists = sizeof(lists)/sizeof(lists[0]);
@@ -824,7 +828,7 @@ check_list_storage(GConfEngine* conf)
lists[3] = NULL;
/* of float */
- lists[4] = list_of_floats();
+ lists[4] = list_of_bools(); /*list_of_floats();*/
lists[5] = NULL;
/* of bool */