aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorChris Coulson <chrisccoulson@ubuntu.com>2011-06-28 17:40:16 +0100
committerChris Coulson <chrisccoulson@ubuntu.com>2011-06-28 17:40:16 +0100
commit7fbfd4e5ecb550ebe49ccd366bd268868ae682d0 (patch)
treeeda56aab963f99a070492d0ab96d4666e636a957 /libdbusmenu-glib
parent6a217805e685c47223da9513c31d2a26f0141ccf (diff)
downloadlibdbusmenu-7fbfd4e5ecb550ebe49ccd366bd268868ae682d0.tar.gz
libdbusmenu-7fbfd4e5ecb550ebe49ccd366bd268868ae682d0.tar.bz2
libdbusmenu-7fbfd4e5ecb550ebe49ccd366bd268868ae682d0.zip
When there are no removed properties in ItemsPropertiesUpdated, ensure the arguments
have the correct signature so that they aren't rejected by the client (LP: #799878)
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index f81b3ed..c7057df 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -976,10 +976,10 @@ menuitem_property_idle (gpointer user_data)
gotsomething = TRUE;
} else {
GError * error = NULL;
- megadata[1] = g_variant_parse(G_VARIANT_TYPE("a(ia(s))"), "[ ]", NULL, NULL, &error);
+ megadata[1] = g_variant_parse(G_VARIANT_TYPE("a(ias)"), "[ ]", NULL, NULL, &error);
if (error != NULL) {
- g_warning("Unable to parse '[ ]' as a 'a(ia(s))': %s", error->message);
+ g_warning("Unable to parse '[ ]' as a 'a(ias)': %s", error->message);
g_error_free(error);
}
}