[Xfce4-commits] <parole:master> Revert "Fix bug #9148 (thanks Landry)"

Simon Steinbeiss noreply at xfce.org
Tue Jul 24 11:06:01 CEST 2012


Updating branch refs/heads/master
         to 0a7ff90f6e5d167440680dfb93dea2dfb80272cb (commit)
       from 50401f4ff13e3c8758e0f869584ff549b723ec3e (commit)

commit 0a7ff90f6e5d167440680dfb93dea2dfb80272cb
Author: Simon Steinbeiss <ochosi at xfce.org>
Date:   Tue Jul 24 11:02:26 2012 +0200

    Revert "Fix bug #9148 (thanks Landry)"
    
    This reverts commit 50401f4ff13e3c8758e0f869584ff549b723ec3e.

 src/parole-player.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index f033050..6193dcf 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -183,8 +183,7 @@ void            parole_player_volume_mute 		(GtkWidget *widget,
 void		parole_player_open_preferences_cb	(GtkWidget *widget,
 							 ParolePlayer *player);
 
-void            parole_player_volume_value_changed_cb   (GtkScaleButton *widget,
-							 gdouble value,
+void            parole_player_volume_value_changed_cb   (GtkScaleButton *widget, 
 							 ParolePlayer *player);
 
 gboolean        parole_player_volume_scroll_event_cb	(GtkWidget *widget,
@@ -1754,8 +1753,10 @@ parole_player_volume_scroll_event_cb (GtkWidget *widget, GdkEventScroll *ev, Par
 }
 
 void
-parole_player_volume_value_changed_cb (GtkScaleButton *widget, gdouble value, ParolePlayer *player)
+parole_player_volume_value_changed_cb (GtkScaleButton *widget, ParolePlayer *player)
 {
+    gdouble value;
+    value = gtk_scale_button_get_value (GTK_SCALE_BUTTON (player->priv->volume));
     parole_player_change_volume (player, value);
     parole_rc_write_entry_int ("volume", PAROLE_RC_GROUP_GENERAL, (gint)(value * 100));
 }


More information about the Xfce4-commits mailing list