diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2012-03-21 18:01:54 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2012-03-21 18:01:54 -0400 |
commit | f3df2e12e4e66c255c9340d3c1093ddc65e7fbc8 (patch) | |
tree | e8850e79e1159f89731bf004841c55ced1941fbb /src/app-indicator.c | |
parent | 73331d64cff60d8c96220bda4a088b67df01f652 (diff) | |
parent | ea6700d2427e98e98aca529911fb97f577df783e (diff) | |
download | libayatana-appindicator-f3df2e12e4e66c255c9340d3c1093ddc65e7fbc8.tar.gz libayatana-appindicator-f3df2e12e4e66c255c9340d3c1093ddc65e7fbc8.tar.bz2 libayatana-appindicator-f3df2e12e4e66c255c9340d3c1093ddc65e7fbc8.zip |
* New upstream release.
* Fix a Coverity PW.BRANCH_PAST_INITIALIZATION error (LP: #957471)
* Fix FTB bug from ambiguity between Glib.Menu and Gtk.Menu in the Vala code
* debian/control: Updating to valac-0.16
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r-- | src/app-indicator.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c index d7b3d18..0d6450c 100644 --- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -926,11 +926,8 @@ app_indicator_set_property (GObject * object, guint prop_id, const GValue * valu break; case PROP_DBUS_MENU_SERVER: - if (priv->menuservice != NULL) { - g_object_unref (priv->menuservice); - } - gpointer val = g_value_dup_object(value); - priv->menuservice = DBUSMENU_SERVER(val); + g_clear_object (&priv->menuservice); + priv->menuservice = DBUSMENU_SERVER (g_value_dup_object(value)); break; default: |