aboutsummaryrefslogtreecommitdiff
path: root/src/slider-menu-item.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-14 18:21:02 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-14 18:21:02 +0100
commit484518d33c44914196f85c19b92f3fac07d1b2e0 (patch)
tree7d7322dbcdba2987b5c515377ecee1daec032876 /src/slider-menu-item.c
parentedb20cb04d9f977c7ddf70f6edc707546e2997c0 (diff)
downloadayatana-indicator-sound-484518d33c44914196f85c19b92f3fac07d1b2e0.tar.gz
ayatana-indicator-sound-484518d33c44914196f85c19b92f3fac07d1b2e0.tar.bz2
ayatana-indicator-sound-484518d33c44914196f85c19b92f3fac07d1b2e0.zip
indicator should handle any service problems gracefully
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r--src/slider-menu-item.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c
index 77c8635..c850cdc 100644
--- a/src/slider-menu-item.c
+++ b/src/slider-menu-item.c
@@ -88,8 +88,7 @@ handle_event (DbusmenuMenuitem * mi, const gchar * name, const GValue * value, g
SliderMenuItem* slider_menu_item_new(gboolean sinks_available, gdouble start_volume)
-{
-
+{
SliderMenuItem *self = g_object_new(SLIDER_MENU_ITEM_TYPE, NULL);
dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_TYPE, DBUSMENU_VOLUME_MENUITEM_TYPE);