diff options
author | Ted Gould <ted@gould.cx> | 2011-02-14 23:11:28 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-14 23:11:28 -0600 |
commit | b0c5bfe2e4d50d12dc4b8ab9828b67b47abbd5a3 (patch) | |
tree | 23d5c84123a3a26a2ea95de5fc2e8ab1f898dbfb /libdbusmenu-glib/server.c | |
parent | 331a9b26f51f79a1c06dde2ca5c1364431e471be (diff) | |
download | libdbusmenu-b0c5bfe2e4d50d12dc4b8ab9828b67b47abbd5a3.tar.gz libdbusmenu-b0c5bfe2e4d50d12dc4b8ab9828b67b47abbd5a3.tar.bz2 libdbusmenu-b0c5bfe2e4d50d12dc4b8ab9828b67b47abbd5a3.zip |
Splitting a few of these out so they're easier to follow
Diffstat (limited to 'libdbusmenu-glib/server.c')
-rw-r--r-- | libdbusmenu-glib/server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c index ed23d16..2852b7b 100644 --- a/libdbusmenu-glib/server.c +++ b/libdbusmenu-glib/server.c @@ -1058,8 +1058,10 @@ bus_get_layout (DbusmenuServer * server, GVariant * params, GDBusMethodInvocatio g_variant_builder_add_value(&tuplebuilder, g_variant_new_uint32(revision)); g_variant_builder_add_value(&tuplebuilder, items); + GVariant * retval = g_variant_builder_end(&tuplebuilder); + // g_debug("Sending layout type: %s", g_variant_get_type_string(retval)); g_dbus_method_invocation_return_value(invocation, - g_variant_builder_end(&tuplebuilder)); + retval); return; } |