[gnome-media] Don't care about streams we're not showing
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-media] Don't care about streams we're not showing
- Date: Mon, 17 Aug 2009 18:39:36 +0000 (UTC)
commit a1a3c928168f9bccf9e378fd6404535e11af6929
Author: Bastien Nocera <hadess hadess net>
Date: Mon Aug 17 18:17:52 2009 +0100
Don't care about streams we're not showing
We don't care about listening for volume notifications
for streams that don't have a UI. Fixes warnings when changing
the volume of a sink that's not the default one, using another
volume control tool.
gnome-volume-control/src/gvc-mixer-dialog.c | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/gnome-volume-control/src/gvc-mixer-dialog.c b/gnome-volume-control/src/gvc-mixer-dialog.c
index 6699d24..6db66f7 100644
--- a/gnome-volume-control/src/gvc-mixer-dialog.c
+++ b/gnome-volume-control/src/gvc-mixer-dialog.c
@@ -978,20 +978,20 @@ add_stream (GvcMixerDialog *dialog,
G_CALLBACK (on_adjustment_value_changed),
dialog);
gtk_widget_show (bar);
- }
- g_signal_connect (stream,
- "notify::is-muted",
- G_CALLBACK (on_stream_is_muted_notify),
- dialog);
- g_signal_connect (stream,
- "notify::volume",
- G_CALLBACK (on_stream_volume_notify),
- dialog);
- g_signal_connect (stream,
- "notify::port",
- G_CALLBACK (on_stream_port_notify),
- dialog);
+ g_signal_connect (stream,
+ "notify::is-muted",
+ G_CALLBACK (on_stream_is_muted_notify),
+ dialog);
+ g_signal_connect (stream,
+ "notify::volume",
+ G_CALLBACK (on_stream_volume_notify),
+ dialog);
+ g_signal_connect (stream,
+ "notify::port",
+ G_CALLBACK (on_stream_port_notify),
+ dialog);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]