diff options
author | Ted Gould <ted@gould.cx> | 2011-02-28 12:37:31 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-28 12:37:31 -0600 |
commit | 02582ed5c9b2504f7ac4e2c907970f1b2ab26e2b (patch) | |
tree | be0c5b98ac6258f6aa51837c38ccb3abd298982e /libdbusmenu-glib | |
parent | 218b2b32a73881b198f09f74725d395d2d27acdc (diff) | |
download | libdbusmenu-02582ed5c9b2504f7ac4e2c907970f1b2ab26e2b.tar.gz libdbusmenu-02582ed5c9b2504f7ac4e2c907970f1b2ab26e2b.tar.bz2 libdbusmenu-02582ed5c9b2504f7ac4e2c907970f1b2ab26e2b.zip |
These should be tuples, and now they are!
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/server.c | 4 |
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(¶ms, G_VARIANT_TYPE_ARRAY); + g_variant_builder_init(¶ms, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(¶ms, 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(¶ms, 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(¶ms, G_VARIANT_TYPE_ARRAY); + g_variant_builder_init(¶ms, G_VARIANT_TYPE_TUPLE); g_variant_builder_add_value(¶ms, 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(¶ms, g_variant_new_array(NULL, &dict, 1)); |