[gnome-media] Remove unused num_settings variable in update_output_settings
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-media] Remove unused num_settings variable in update_output_settings
- Date: Mon, 21 Sep 2009 14:43:45 +0000 (UTC)
commit 85a6b8e6810b00fe5b5bfccf1b31acc863f17dad
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 17 18:00:52 2009 +0100
Remove unused num_settings variable in update_output_settings
https://bugzilla.gnome.org/show_bug.cgi?id=595491
gnome-volume-control/src/gvc-mixer-dialog.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gnome-volume-control/src/gvc-mixer-dialog.c b/gnome-volume-control/src/gvc-mixer-dialog.c
index fd88877..0be5e33 100644
--- a/gnome-volume-control/src/gvc-mixer-dialog.c
+++ b/gnome-volume-control/src/gvc-mixer-dialog.c
@@ -183,7 +183,6 @@ update_output_settings (GvcMixerDialog *dialog)
{
GvcMixerStream *stream;
GvcChannelMap *map;
- guint num_settings;
const GList *ports;
g_debug ("Updating output settings");
@@ -230,7 +229,6 @@ update_output_settings (GvcMixerDialog *dialog)
dialog->priv->output_balance_bar,
FALSE, FALSE, 12);
gtk_widget_show (dialog->priv->output_balance_bar);
- num_settings = 1;
if (gvc_channel_map_can_fade (map)) {
dialog->priv->output_fade_bar = gvc_balance_bar_new (map, BALANCE_TYPE_FR);
@@ -243,7 +241,6 @@ update_output_settings (GvcMixerDialog *dialog)
dialog->priv->output_fade_bar,
FALSE, FALSE, 12);
gtk_widget_show (dialog->priv->output_fade_bar);
- num_settings++;
}
if (gvc_channel_map_has_lfe (map)) {
@@ -257,7 +254,6 @@ update_output_settings (GvcMixerDialog *dialog)
dialog->priv->output_lfe_bar,
FALSE, FALSE, 12);
gtk_widget_show (dialog->priv->output_lfe_bar);
- num_settings++;
}
ports = gvc_mixer_stream_get_ports (stream);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]