aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-14 17:14:46 -0600
committerTed Gould <ted@gould.cx>2011-02-14 17:14:46 -0600
commit931994f499108dec95c7e6c9022848667b69848f (patch)
tree12b7572f08e669dc50c2c72c1642442f81a8c7b2 /libdbusmenu-glib
parentb145235e39b4ac35c1cad312d04e7c0471c518d7 (diff)
downloadlibdbusmenu-931994f499108dec95c7e6c9022848667b69848f.tar.gz
libdbusmenu-931994f499108dec95c7e6c9022848667b69848f.tar.bz2
libdbusmenu-931994f499108dec95c7e6c9022848667b69848f.zip
Fixing the type to match dbus-menu.xml
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index 26e324e..4da8ae0 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -954,7 +954,7 @@ bus_get_layout (DbusmenuServer * server, GVariant * params, GDBusMethodInvocatio
if (parent == 0) {
/* We should always have a root, so we'll make up one for
right now. */
- items = g_variant_parse(G_VARIANT_TYPE("(ia{sv}a(v))"), "(0, [], [])", NULL, NULL, NULL);
+ items = g_variant_parse(G_VARIANT_TYPE("(ia{sv}av)"), "(0, [], [])", NULL, NULL, NULL);
} else {
/* If we were looking for a specific ID that's an error that
we should send back, so let's do that. */