# HG changeset patch # User Elliott Sales de Andrade # Date 1314051521 0 # Node ID 24ea40d8f1300e91ea5ee1ec8501b0f52fc6fe50 # Parent e2a1510da13d55adc50ad20ea4ad7159b43e3a31 Fix vvconfig.c compile. diff -r e2a1510da13d -r 24ea40d8f130 pidgin/plugins/vvconfig.c --- a/pidgin/plugins/vvconfig.c Mon Aug 22 21:27:03 2011 +0000 +++ b/pidgin/plugins/vvconfig.c Mon Aug 22 22:18:41 2011 +0000 @@ -627,7 +627,7 @@ } static void -voice_test_frame_destroy_cb(GtkObject *w, GstElement *pipeline) +voice_test_frame_destroy_cb(GtkWidget *w, GstElement *pipeline) { g_return_if_fail(GST_IS_ELEMENT(pipeline)); @@ -702,7 +702,7 @@ gtk_range_set_value(GTK_RANGE(volume), purple_prefs_get_int("/purple/media/audio/volume/input")); - gtk_widget_set(volume, "draw-value", FALSE, NULL); + gtk_scale_set_draw_value(GTK_SCALE(volume), FALSE); gtk_range_set_value(GTK_RANGE(threshold), purple_prefs_get_int("/purple/media/audio/silence_threshold"));