/pidgin/main: cd86e355b945: Fix some function arguments, which w...

Elliott Sales de Andrade qulogic at pidgin.im
Wed Jan 16 23:41:58 EST 2013


Changeset: cd86e355b94543b9bd48ad6e204257140f7e38ac
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2013-01-07 21:16 -0500
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/cd86e355b945

Description:

Fix some function arguments, which were the real cause of ce1a071ef316.

diffstat:

 pidgin/gtkprefs.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (16 lines):

diff --git a/pidgin/gtkprefs.c b/pidgin/gtkprefs.c
--- a/pidgin/gtkprefs.c
+++ b/pidgin/gtkprefs.c
@@ -3401,10 +3401,9 @@ toggle_voice_test_cb(GtkToggleButton *te
 }
 
 static void
-volume_changed_cb(GtkScaleButton *button, gpointer data)
+volume_changed_cb(GtkScaleButton *button, gdouble value, gpointer data)
 {
-	purple_prefs_set_int("/purple/media/audio/volume/input",
-	                     gtk_scale_button_get_value(GTK_SCALE_BUTTON(button)) * 100);
+	purple_prefs_set_int("/purple/media/audio/volume/input", value * 100);
 }
 
 static void



More information about the Commits mailing list