diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-03-14 19:47:59 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-03-14 19:47:59 +0000 |
commit | 76ef685e00626c73f01bcb547e143fa4ec308ea8 (patch) | |
tree | a325e92ba322aa83f12c9eb82c60ace09d2049af /src/slider-menu-item.c | |
parent | 84f68e01cf7b165d69f592cba379c28f890a4a1c (diff) | |
download | ayatana-indicator-sound-76ef685e00626c73f01bcb547e143fa4ec308ea8.tar.gz ayatana-indicator-sound-76ef685e00626c73f01bcb547e143fa4ec308ea8.tar.bz2 ayatana-indicator-sound-76ef685e00626c73f01bcb547e143fa4ec308ea8.zip |
renamed active-sink to device so as the naming makes sense
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r-- | src/slider-menu-item.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c index 270b996..fb66563 100644 --- a/src/slider-menu-item.c +++ b/src/slider-menu-item.c @@ -28,7 +28,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>. typedef struct _SliderMenuItemPrivate SliderMenuItemPrivate; struct _SliderMenuItemPrivate { - ActiveSink* a_sink; + Device* a_sink; gint index; gchar* name; pa_cvolume volume; @@ -112,7 +112,7 @@ handle_event (DbusmenuMenuitem * mi, gdouble volume_input = g_variant_get_double(input); //g_debug ("slider menu item about to update volume %f", volume_input); slider_menu_item_update_volume (SLIDER_MENU_ITEM (mi), volume_input); - active_sink_ensure_sink_is_unmuted (priv->a_sink); + device_ensure_sink_is_unmuted (priv->a_sink); } } } @@ -212,7 +212,7 @@ slider_menu_item_construct_mono_volume (const pa_cvolume* vol) } SliderMenuItem* -slider_menu_item_new (ActiveSink* sink) +slider_menu_item_new (Device* sink) { SliderMenuItem *self = g_object_new(SLIDER_MENU_ITEM_TYPE, NULL); SliderMenuItemPrivate* priv = SLIDER_MENU_ITEM_GET_PRIVATE (self); |