[sound-juicer] Remove deprecated call to gtk_hscale_new_with_range



commit 49456dea305271040430dc1dcf146c62e5502983
Author: phantomjinx <p g richardson phantomjinx co uk>
Date:   Fri Apr 20 20:43:59 2012 +0200

    Remove deprecated call to gtk_hscale_new_with_range
    
    It's replaced by gtk_scale_new_with_range
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674489

 src/egg-play-preview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/egg-play-preview.c b/src/egg-play-preview.c
index d880fee..26ee9c6 100644
--- a/src/egg-play-preview.c
+++ b/src/egg-play-preview.c
@@ -284,7 +284,7 @@ egg_play_preview_init (EggPlayPreview *play_preview)
 	gtk_container_add (GTK_CONTAINER (align), priv->play_button);
 
 	/* time scale */
-	priv->time_scale = gtk_hscale_new_with_range (0.0, 100.0, 1.0);
+	priv->time_scale = gtk_scale_new_with_range(GTK_ORIENTATION_HORIZONTAL, 0.0, 100.0, 1.0);
 	gtk_scale_set_draw_value (GTK_SCALE (priv->time_scale), FALSE);
 	gtk_widget_set_size_request (priv->time_scale, EGG_PLAYER_PREVIEW_WIDTH, -1);
 	priv->time_label = gtk_label_new ("0:00");



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