diff options
author | Ted Gould <ted@gould.cx> | 2010-11-18 13:49:50 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-11-18 13:49:50 -0600 |
commit | b5e90b0ce320570a1338e84538874a02c5dd5753 (patch) | |
tree | 519e5da43d0f2004b515f681ce0286f74a64917b /libdbusmenu-glib | |
parent | 9ef52be8a4da1fc981e09079e142d2aea9793567 (diff) | |
download | libdbusmenu-b5e90b0ce320570a1338e84538874a02c5dd5753.tar.gz libdbusmenu-b5e90b0ce320570a1338e84538874a02c5dd5753.tar.bz2 libdbusmenu-b5e90b0ce320570a1338e84538874a02c5dd5753.zip |
Break out of the tuple
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 1e6e479..696f7c5 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -517,7 +517,7 @@ get_properties_callback (GObject *obj, GAsyncResult * res, gpointer user_data) } /* Callback all the folks we can find */ - GVariantIter * iter = g_variant_iter_new(params); + GVariantIter * iter = g_variant_iter_new(g_variant_get_child_value(params, 0)); GVariant * child; while ((child = g_variant_iter_next_value(iter)) != NULL) { if (g_strcmp0(g_variant_get_type_string(child), "ia(sv)") != 0) { |