diff options
author | Ted Gould <ted@gould.cx> | 2010-11-18 13:52:24 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-11-18 13:52:24 -0600 |
commit | c35642d47693feb5dce6fc6b5e3e5f258b255982 (patch) | |
tree | 424a68e2ba40a19de428a341b3fa155ed8facfda /libdbusmenu-glib | |
parent | b5e90b0ce320570a1338e84538874a02c5dd5753 (diff) | |
download | libdbusmenu-c35642d47693feb5dce6fc6b5e3e5f258b255982.tar.gz libdbusmenu-c35642d47693feb5dce6fc6b5e3e5f258b255982.tar.bz2 libdbusmenu-c35642d47693feb5dce6fc6b5e3e5f258b255982.zip |
Correcting type check
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 696f7c5..50df570 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -520,8 +520,8 @@ get_properties_callback (GObject *obj, GAsyncResult * res, gpointer user_data) 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) { - g_warning("Properties return signature is not 'ia(sv)' it is '%s'", g_variant_get_type_string(child)); + if (g_strcmp0(g_variant_get_type_string(child), "(ia{sv})") != 0) { + g_warning("Properties return signature is not '(ia{sv})' it is '%s'", g_variant_get_type_string(child)); continue; } |