aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 6dece24c7..05681c6d6 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -110,6 +110,10 @@ static void empathy_call_window_status_message (EmpathyCallWindow *window,
gchar *message);
static void
+empathy_call_window_volume_changed_cb (GtkScaleButton *button,
+ gdouble value, EmpathyCallWindow *window);
+
+static void
empathy_call_window_setup_menubar (EmpathyCallWindow *self)
{
EmpathyCallWindowPriv *priv = GET_PRIV (self);
@@ -126,7 +130,6 @@ empathy_call_window_setup_toolbar (EmpathyCallWindow *self)
EmpathyCallWindowPriv *priv = GET_PRIV (self);
GtkWidget *hangup;
GtkWidget *mic;
- GtkWidget *volume_button;
GtkWidget *camera;
GtkWidget *toolbar;
GtkToolItem *tool_item;
@@ -735,3 +738,13 @@ empathy_call_window_status_message (EmpathyCallWindow *window,
gtk_statusbar_push (GTK_STATUSBAR (priv->statusbar), priv->context_id,
message);
}
+
+static void
+empathy_call_window_volume_changed_cb (GtkScaleButton *button,
+ gdouble value, EmpathyCallWindow *window)
+{
+ EmpathyCallWindowPriv *priv = GET_PRIV (window);
+
+ empathy_audio_sink_set_volume (EMPATHY_GST_AUDIO_SINK (priv->audio_output),
+ value);
+}