[totem/gnome-2-28] Remove unused new_vol variable



commit 9e00dcffa2ef463a336b4d9822cddcb6bed03ede
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Oct 16 15:26:23 2009 +0100

    Remove unused new_vol variable

 src/backend/bacon-video-widget-gst-0.10.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 458ca48..314d101 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -3894,11 +3894,8 @@ bacon_video_widget_set_volume (BaconVideoWidget * bvw, double volume)
       gst_element_get_state (bvw->priv->pulse_audio_sink, &cur_state, NULL, 0);
       if (cur_state == GST_STATE_READY || cur_state == GST_STATE_PLAYING)
       {
-	gdouble new_vol;
 	g_object_set (bvw->priv->pulse_audio_sink, "volume",
 		      (gdouble) volume, NULL);
-
-        g_object_get (bvw->priv->pulse_audio_sink, "volume", &new_vol, NULL);
       }
     } else {
       g_object_set (bvw->priv->play, "volume",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]