aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-01-31 09:10:49 -0500
committerMichael Terry <mike@mterry.name>2011-01-31 09:10:49 -0500
commit47401712546246e6213659e06fd3b6972906ced7 (patch)
tree20a399624349f110c741128e0d4c42a87f9673e7 /libdbusmenu-glib
parent7be86c5778e58bbe231655ed58b7597ad61f5310 (diff)
downloadlibdbusmenu-47401712546246e6213659e06fd3b6972906ced7.tar.gz
libdbusmenu-47401712546246e6213659e06fd3b6972906ced7.tar.bz2
libdbusmenu-47401712546246e6213659e06fd3b6972906ced7.zip
fix variant type of props return
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index adb9f91..777e4ef 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -946,9 +946,9 @@ bus_get_group_properties (DbusmenuServer * server, GVariant * params, GDBusMetho
ret = g_variant_builder_end(&builder);
} else {
GError * error = NULL;
- ret = g_variant_parse(g_variant_type_new("a(ia(sv))"), "[]", NULL, NULL, NULL);
+ ret = g_variant_parse(g_variant_type_new("a(ia{sv})"), "[]", NULL, NULL, NULL);
if (error != NULL) {
- g_warning("Unable to parse '[]' as a 'a(ia(sv))': %s", error->message);
+ g_warning("Unable to parse '[]' as a 'a(ia{sv})': %s", error->message);
g_error_free(error);
ret = NULL;
}