aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/menuitem.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-08 09:58:14 -0600
committerTed Gould <ted@gould.cx>2012-03-08 09:58:14 -0600
commit2ca22ea68d9bad535a42b7d40d027c8763e5ac44 (patch)
treeb0c4f2cb476f0757078b2f31e21b7ffcf1b049bd /libdbusmenu-glib/menuitem.c
parent8dc3a0013a6fd0d8ab54edf0944f842da751c4e7 (diff)
parent1f223542ce9a8ae00d17928bd91e244793a76c24 (diff)
downloadlibdbusmenu-2ca22ea68d9bad535a42b7d40d027c8763e5ac44.tar.gz
libdbusmenu-2ca22ea68d9bad535a42b7d40d027c8763e5ac44.tar.bz2
libdbusmenu-2ca22ea68d9bad535a42b7d40d027c8763e5ac44.zip
Import upstream version 0.5.93
Diffstat (limited to 'libdbusmenu-glib/menuitem.c')
-rw-r--r--libdbusmenu-glib/menuitem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c
index 18db4ef..c81c36e 100644
--- a/libdbusmenu-glib/menuitem.c
+++ b/libdbusmenu-glib/menuitem.c
@@ -1253,7 +1253,7 @@ dbusmenu_menuitem_property_set_variant (DbusmenuMenuitem * mi, const gchar * pro
becuse it has been unref'd when replaced in the hash
table. But the fact that there was a value is
the imporant part. */
- if (!inhash || replaced) {
+ if (replaced) {
GVariant * signalval = value;
if (signalval == NULL) {
@@ -1462,8 +1462,8 @@ dbusmenu_menuitem_property_remove (DbusmenuMenuitem * mi, const gchar * property
* by the menuitem but the list is not and should be freed using
* g_list_free() when the calling function is done with it.
*
- * Return value: (transfer container): A list of strings or NULL if there are
- * none.
+ * Return value: (transfer container) (element-type utf8): A list of
+ * strings or NULL if there are none.
*/
GList *
dbusmenu_menuitem_properties_list (DbusmenuMenuitem * mi)