aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-01 21:35:46 -0600
committerTed Gould <ted@gould.cx>2010-12-01 21:35:46 -0600
commit4bf64d184cb6eb7ac89d91705e947aedd2aa981a (patch)
tree17cab3b13ae08bfbc21861e5471556b051a75187 /tests
parente3582434262f474412ac40b864f5bbc128973c40 (diff)
downloadlibdbusmenu-4bf64d184cb6eb7ac89d91705e947aedd2aa981a.tar.gz
libdbusmenu-4bf64d184cb6eb7ac89d91705e947aedd2aa981a.tar.bz2
libdbusmenu-4bf64d184cb6eb7ac89d91705e947aedd2aa981a.zip
Making the ints from the JSON file int32s
Diffstat (limited to 'tests')
-rw-r--r--tests/json-loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json-loader.c b/tests/json-loader.c
index 4d3e6aa..14e90e0 100644
--- a/tests/json-loader.c
+++ b/tests/json-loader.c
@@ -56,7 +56,7 @@ node2variant (JsonNode * node)
switch (json_node_get_value_type(node)) {
case G_TYPE_INT:
case G_TYPE_INT64:
- return g_variant_new_int64(json_node_get_int(node));
+ return g_variant_new_int32(json_node_get_int(node));
case G_TYPE_DOUBLE:
case G_TYPE_FLOAT:
return g_variant_new_double(json_node_get_double(node));