aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service-dbus.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-26 20:53:34 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-26 20:53:34 -0600
commit2015246e5146a5a03b6b0497aa8ce18a705bd724 (patch)
tree9d1dbb6987b4fa11fa9c2a8bb6d08ebed4245245 /src/sound-service-dbus.c
parentb7086f82e50f8c95c0d213b45c54a603f7e58f01 (diff)
downloadayatana-indicator-sound-2015246e5146a5a03b6b0497aa8ce18a705bd724.tar.gz
ayatana-indicator-sound-2015246e5146a5a03b6b0497aa8ce18a705bd724.tar.bz2
ayatana-indicator-sound-2015246e5146a5a03b6b0497aa8ce18a705bd724.zip
removed unnecessary g_object_refs()
Diffstat (limited to 'src/sound-service-dbus.c')
-rw-r--r--src/sound-service-dbus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c
index 78b5e93..b444a91 100644
--- a/src/sound-service-dbus.c
+++ b/src/sound-service-dbus.c
@@ -184,7 +184,6 @@ static void sound_service_dbus_build_sound_menu ( SoundServiceDbus* self,
// Separator
DbusmenuMenuitem* separator = dbusmenu_menuitem_new();
- g_object_ref (separator);
dbusmenu_menuitem_property_set( separator,
DBUSMENU_MENUITEM_PROP_TYPE,
@@ -194,7 +193,7 @@ static void sound_service_dbus_build_sound_menu ( SoundServiceDbus* self,
// Sound preferences dialog
DbusmenuMenuitem* settings_mi = dbusmenu_menuitem_new();
- g_object_ref(settings_mi);
+
dbusmenu_menuitem_property_set( settings_mi,
DBUSMENU_MENUITEM_PROP_LABEL,
_("Sound Preferences..."));