diff options
author | Ted Gould <ted@gould.cx> | 2012-03-08 09:21:26 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-03-08 09:21:26 -0600 |
commit | 1f1f1873c159506d7a2f57d8221fdc1a7af7230e (patch) | |
tree | 0acf700285d2d9d028c35a5501753a9f2b9a9509 /libdbusmenu-glib/menuitem.c | |
parent | 33290b94668dec767edc167826e32f953f2e15ef (diff) | |
parent | a19fad6da18d3aec7aed4a4cddf3aeeb87249319 (diff) | |
download | libdbusmenu-1f1f1873c159506d7a2f57d8221fdc1a7af7230e.tar.gz libdbusmenu-1f1f1873c159506d7a2f57d8221fdc1a7af7230e.tar.bz2 libdbusmenu-1f1f1873c159506d7a2f57d8221fdc1a7af7230e.zip |
Fixing resetting an icon numerous times
Diffstat (limited to 'libdbusmenu-glib/menuitem.c')
-rw-r--r-- | libdbusmenu-glib/menuitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c index 18db4ef..253fe6e 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) { |