summaryrefslogtreecommitdiff
path: root/demos/testpixbuf-scale.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 02:07:28 +0200
committerJavier Jardón <jjardon@gnome.org>2010-10-30 02:26:24 +0200
commit217036975a1305c734e912e7c87394ee874bc6ee (patch)
tree1109c6ab1b216a6340337ba16925d389199eed43 /demos/testpixbuf-scale.c
parent8177ad320e19a5800ccb2d9d0b79dfe7dc334486 (diff)
downloadgtk+-217036975a1305c734e912e7c87394ee874bc6ee.tar.gz
Use gtk_scale_new() instead gtk_[v|h]scale_new()
Diffstat (limited to 'demos/testpixbuf-scale.c')
-rw-r--r--demos/testpixbuf-scale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/testpixbuf-scale.c b/demos/testpixbuf-scale.c
index 7b52161907..5bca987bde 100644
--- a/demos/testpixbuf-scale.c
+++ b/demos/testpixbuf-scale.c
@@ -127,7 +127,7 @@ main(int argc, char **argv)
g_signal_connect (adjustment, "value_changed",
G_CALLBACK (overall_changed_cb), NULL);
- hscale = gtk_hscale_new (adjustment);
+ hscale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, adjustment);
gtk_scale_set_digits (GTK_SCALE (hscale), 0);
gtk_box_pack_start (GTK_BOX (hbox), hscale, TRUE, TRUE, 0);