diff options
| author | Ted Gould <ted@gould.cx> | 2012-03-08 10:01:54 -0600 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2012-03-08 10:01:54 -0600 |
| commit | 1892b7c8feb8663b3a9c030d6c92372c3901d481 (patch) | |
| tree | 76d672acee8a006329c2f1e6efb07127c5a0350c /libdbusmenu-glib/menuitem.c | |
| parent | 6f5a283e474ffa37907443d70808d5d5aea5e41e (diff) | |
| parent | 2ca22ea68d9bad535a42b7d40d027c8763e5ac44 (diff) | |
| download | libdbusmenu-1892b7c8feb8663b3a9c030d6c92372c3901d481.tar.gz libdbusmenu-1892b7c8feb8663b3a9c030d6c92372c3901d481.tar.bz2 libdbusmenu-1892b7c8feb8663b3a9c030d6c92372c3901d481.zip | |
* New upstream release.
* Setting the ATK Role on menu items (LP: #878708)
* Cleaning up code paths to avoid goto's (LP: #940651)
* Fixing setting an icon multiple times (LP: #934574)
Diffstat (limited to 'libdbusmenu-glib/menuitem.c')
| -rw-r--r-- | libdbusmenu-glib/menuitem.c | 6 |
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) |
