diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-02-04 18:25:54 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-02-04 18:25:54 +0000 |
commit | 6bfc46de9234f0ef39d90b934fb406eebec4c59c (patch) | |
tree | 35b612485f2b6f198caaaf54f92442f219ae6a2d /src/slider-menu-item.c | |
parent | 39430b4d1797d16b2152fddb864a38c26f8fb97f (diff) | |
download | ayatana-indicator-sound-6bfc46de9234f0ef39d90b934fb406eebec4c59c.tar.gz ayatana-indicator-sound-6bfc46de9234f0ef39d90b934fb406eebec4c59c.tar.bz2 ayatana-indicator-sound-6bfc46de9234f0ef39d90b934fb406eebec4c59c.zip |
tidy ups
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r-- | src/slider-menu-item.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c index 3554b0d..6fd4dbc 100644 --- a/src/slider-menu-item.c +++ b/src/slider-menu-item.c @@ -62,12 +62,7 @@ static void slider_menu_item_init (SliderMenuItem *self) g_debug("Building new Slider Menu Item"); dbusmenu_menuitem_property_set( DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_TYPE, - DBUSMENU_VOLUME_MENUITEM_TYPE ); - - /*dbusmenu_menuitem_property_set_bool( DBUSMENU_MENUITEM(self), - DBUSMENU_MENUITEM_PROP_VISIBLE, - TRUE);*/ - + DBUSMENU_VOLUME_MENUITEM_TYPE ); return; } @@ -110,8 +105,6 @@ handle_event (DbusmenuMenuitem * mi, void slider_menu_item_update (SliderMenuItem* item, gdouble update) { - // TODO - // Check if that variant below will leak !!! GVariant* new_volume = g_variant_new_double(update); dbusmenu_menuitem_property_set_variant(DBUSMENU_MENUITEM(item), DBUSMENU_VOLUME_MENUITEM_LEVEL, |