aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-14 16:35:57 -0600
committerTed Gould <ted@gould.cx>2011-02-14 16:35:57 -0600
commitbb4167eeb1810687c8c56a376a0a0566c1e46f41 (patch)
treed35f1421afc61f2e314cc0ab1fb59fb752ce873f /libdbusmenu-glib
parenta34c2408b86a40324d378095e701a1b0e76649d7 (diff)
downloadlibdbusmenu-bb4167eeb1810687c8c56a376a0a0566c1e46f41.tar.gz
libdbusmenu-bb4167eeb1810687c8c56a376a0a0566c1e46f41.tar.bz2
libdbusmenu-bb4167eeb1810687c8c56a376a0a0566c1e46f41.zip
Splitting out the args for easier debugging
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/client.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 60ec1ee..7721787 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -1632,10 +1632,13 @@ update_layout (DbusmenuClient * client)
g_variant_builder_add_value(&tupleb, g_variant_new_int32(-1)); // recurse
g_variant_builder_add_value(&tupleb, g_variant_new_array(G_VARIANT_TYPE_STRING, NULL, 0)); // props
+ GVariant * args = g_variant_builder_end(&tupleb);
+ // g_debug("Args (type: %s): %s", g_variant_get_type_string(args), g_variant_print(args, TRUE));
+
g_object_ref(G_OBJECT(client));
g_dbus_proxy_call(priv->menuproxy,
"GetLayout",
- g_variant_builder_end(&tupleb),
+ args,
G_DBUS_CALL_FLAGS_NONE,
-1, /* timeout */
priv->layoutcall, /* cancellable */