aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-streamed-media-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-07 17:51:06 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-07 17:51:09 +0800
commita0e4dc265dc0917ec0cfc637a425327e12623dff (patch)
tree4c6682cac96d730b7731965f79a1ead290ca5bac /src/empathy-streamed-media-window.c
parentaa30262a8fb267ffc655f6a1a990a0be3367629e (diff)
downloadgsoc2013-empathy-a0e4dc265dc0917ec0cfc637a425327e12623dff.tar
gsoc2013-empathy-a0e4dc265dc0917ec0cfc637a425327e12623dff.tar.gz
gsoc2013-empathy-a0e4dc265dc0917ec0cfc637a425327e12623dff.tar.bz2
gsoc2013-empathy-a0e4dc265dc0917ec0cfc637a425327e12623dff.tar.lz
gsoc2013-empathy-a0e4dc265dc0917ec0cfc637a425327e12623dff.tar.xz
gsoc2013-empathy-a0e4dc265dc0917ec0cfc637a425327e12623dff.tar.zst
gsoc2013-empathy-a0e4dc265dc0917ec0cfc637a425327e12623dff.zip
stop using gtk_vscale_new_with_range()
gtk_scale_new_with_range() has been introduced in GTK+ 3.0 so we're good.
Diffstat (limited to 'src/empathy-streamed-media-window.c')
-rw-r--r--src/empathy-streamed-media-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-streamed-media-window.c b/src/empathy-streamed-media-window.c
index 38cd980cc..87887e75f 100644
--- a/src/empathy-streamed-media-window.c
+++ b/src/empathy-streamed-media-window.c
@@ -372,7 +372,8 @@ empathy_streamed_media_window_create_video_input_add_slider (EmpathyStreamedMedi
gchar *label_text, GtkWidget *bin)
{
GtkWidget *vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
- GtkWidget *scale = gtk_vscale_new_with_range (0, 100, 10);
+ GtkWidget *scale = gtk_scale_new_with_range (GTK_ORIENTATION_VERTICAL, 0,
+ 100, 10);
GtkWidget *label = gtk_label_new (label_text);
gtk_widget_set_sensitive (scale, FALSE);
@@ -540,7 +541,8 @@ empathy_streamed_media_window_create_audio_input (EmpathyStreamedMediaWindow *se
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3);
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 3);
- priv->volume_scale = gtk_vscale_new_with_range (0, 150, 100);
+ priv->volume_scale = gtk_scale_new_with_range (GTK_ORIENTATION_VERTICAL, 0,
+ 150, 100);
gtk_range_set_inverted (GTK_RANGE (priv->volume_scale), TRUE);
label = gtk_label_new (_("Volume"));