aboutsummaryrefslogtreecommitdiff
path: root/src/voip-input-menu-item.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-03-17 14:26:55 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-03-17 14:26:55 -0400
commitab3d1a08d064b423b2e2a3702c3039947bbb810f (patch)
tree40786cc8fafef4ae34fb55d3c1d95f2d49ff6730 /src/voip-input-menu-item.c
parentd1a4d4e51d74192975dd2aa1dda35581b1d23d73 (diff)
parent7619eab48daaa739fb3418237c693b7b463182f0 (diff)
downloadayatana-indicator-sound-ab3d1a08d064b423b2e2a3702c3039947bbb810f.tar.gz
ayatana-indicator-sound-ab3d1a08d064b423b2e2a3702c3039947bbb810f.tar.bz2
ayatana-indicator-sound-ab3d1a08d064b423b2e2a3702c3039947bbb810f.zip
releasing version 0.6.4-0ubuntu1
Diffstat (limited to 'src/voip-input-menu-item.c')
-rw-r--r--src/voip-input-menu-item.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/voip-input-menu-item.c b/src/voip-input-menu-item.c
index a742654..a92f91c 100644
--- a/src/voip-input-menu-item.c
+++ b/src/voip-input-menu-item.c
@@ -28,7 +28,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
typedef struct _VoipInputMenuItemPrivate VoipInputMenuItemPrivate;
struct _VoipInputMenuItemPrivate {
- ActiveSink* a_sink;
+ Device* a_sink;
pa_cvolume volume;
gint mute;
guint32 volume_steps;
@@ -129,8 +129,6 @@ handle_event (DbusmenuMenuitem * mi,
if (priv->mute == 1) {
pm_update_mic_mute (priv->source_index, 0);
}
- //active_sink_update_volume (priv->a_sink, volume_input);
- //active_sink_ensure_sink_is_unmuted (priv->a_sink);
}
}
}
@@ -268,7 +266,7 @@ voip_input_menu_item_enable (VoipInputMenuItem* item,
}
VoipInputMenuItem*
-voip_input_menu_item_new (ActiveSink* sink)
+voip_input_menu_item_new (Device* sink)
{
VoipInputMenuItem *self = g_object_new(VOIP_INPUT_MENU_ITEM_TYPE, NULL);
VoipInputMenuItemPrivate* priv = VOIP_INPUT_MENU_ITEM_GET_PRIVATE (self);