aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-28 12:37:31 -0600
committerTed Gould <ted@gould.cx>2011-02-28 12:37:31 -0600
commit02582ed5c9b2504f7ac4e2c907970f1b2ab26e2b (patch)
treebe0c5b98ac6258f6aa51837c38ccb3abd298982e
parent218b2b32a73881b198f09f74725d395d2d27acdc (diff)
downloadlibdbusmenu-02582ed5c9b2504f7ac4e2c907970f1b2ab26e2b.tar.gz
libdbusmenu-02582ed5c9b2504f7ac4e2c907970f1b2ab26e2b.tar.bz2
libdbusmenu-02582ed5c9b2504f7ac4e2c907970f1b2ab26e2b.zip
These should be tuples, and now they are!
-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 056d6cb..6b65638 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -499,7 +499,7 @@ set_property (GObject * obj, guint id, const GValue * value, GParamSpec * pspec)
/* If the value has changed we need to signal that on DBus */
if (priv->text_direction != olddir && priv->bus != NULL && priv->dbusobject != NULL) {
GVariantBuilder params;
- g_variant_builder_init(&params, G_VARIANT_TYPE_ARRAY);
+ g_variant_builder_init(&params, G_VARIANT_TYPE_TUPLE);
g_variant_builder_add_value(&params, g_variant_new_string(DBUSMENU_INTERFACE));
GVariant * dict = g_variant_new_dict_entry(g_variant_new_string("text-direction"), g_variant_new_string(dbusmenu_text_direction_get_nick(priv->text_direction)));
g_variant_builder_add_value(&params, g_variant_new_array(NULL, &dict, 1));
@@ -523,7 +523,7 @@ set_property (GObject * obj, guint id, const GValue * value, GParamSpec * pspec)
/* If the value has changed we need to signal that on DBus */
if (priv->status != instatus && priv->bus != NULL && priv->dbusobject != NULL) {
GVariantBuilder params;
- g_variant_builder_init(&params, G_VARIANT_TYPE_ARRAY);
+ g_variant_builder_init(&params, G_VARIANT_TYPE_TUPLE);
g_variant_builder_add_value(&params, g_variant_new_string(DBUSMENU_INTERFACE));
GVariant * dict = g_variant_new_dict_entry(g_variant_new_string("status"), g_variant_new_string(dbusmenu_status_get_nick(instatus)));
g_variant_builder_add_value(&params, g_variant_new_array(NULL, &dict, 1));