diff options
-rw-r--r-- | binding/network-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binding/network-util.c b/binding/network-util.c index 02740e8..7e0aa48 100644 --- a/binding/network-util.c +++ b/binding/network-util.c @@ -190,6 +190,7 @@ json_object *simple_gvariant_to_json(GVariant *var, json_object *parent, case G_VARIANT_CLASS_DOUBLE: obj = json_object_new_double(g_variant_get_double(var)); break; + case G_VARIANT_CLASS_OBJECT_PATH: case G_VARIANT_CLASS_STRING: obj = json_object_new_string(g_variant_get_string(var, NULL)); break; |