sound: Stop using deprecated gtk_hscale_new

https://bugzilla.gnome.org/show_bug.cgi?id=669622
This commit is contained in:
Robert Ancell 2012-02-08 12:21:35 +11:00 committed by Bastien Nocera
parent 2f6adb1519
commit 01f7545df2
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ _scale_box_new (GvcBalanceBar *bar)
gdouble lower, upper;
bar->priv->scale_box = box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
priv->scale = gtk_hscale_new (priv->adjustment);
priv->scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, priv->adjustment);
gtk_widget_set_size_request (priv->scale, SCALE_SIZE, -1);
gtk_widget_set_name (priv->scale, "balance-bar-scale");

View file

@ -138,7 +138,7 @@ _scale_box_new (GvcChannelBar *bar)
bar->priv->scale_box = box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (box), priv->image, FALSE, FALSE, 0);
priv->scale = gtk_hscale_new (priv->adjustment);
priv->scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, priv->adjustment);
gtk_widget_set_size_request (priv->scale, SCALE_SIZE, -1);