diff options
| author | Ted Gould <ted@gould.cx> | 2010-12-01 21:35:46 -0600 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2010-12-01 21:35:46 -0600 |
| commit | 4bf64d184cb6eb7ac89d91705e947aedd2aa981a (patch) | |
| tree | 17cab3b13ae08bfbc21861e5471556b051a75187 | |
| parent | e3582434262f474412ac40b864f5bbc128973c40 (diff) | |
| download | libdbusmenu-4bf64d184cb6eb7ac89d91705e947aedd2aa981a.tar.gz libdbusmenu-4bf64d184cb6eb7ac89d91705e947aedd2aa981a.tar.bz2 libdbusmenu-4bf64d184cb6eb7ac89d91705e947aedd2aa981a.zip | |
Making the ints from the JSON file int32s
| -rw-r--r-- | tests/json-loader.c | 2 |
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)); |
