diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-30 02:01:27 +0200 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-10-30 17:37:03 +0900 |
commit | d03d2943d2a4847f135a441bd924fa9dabf7d6b2 (patch) | |
tree | 31c4946a46952af78945f9b35dcecdfc1de3ac73 /tests/testoffscreen.c | |
parent | cdf4b4bbd5bf6b4e7a82954bbecf467b6952bde5 (diff) | |
download | gtk+-d03d2943d2a4847f135a441bd924fa9dabf7d6b2.tar.gz |
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
Diffstat (limited to 'tests/testoffscreen.c')
-rw-r--r-- | tests/testoffscreen.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/testoffscreen.c b/tests/testoffscreen.c index cfb285b25d..60f8ee18b7 100644 --- a/tests/testoffscreen.c +++ b/tests/testoffscreen.c @@ -310,9 +310,8 @@ main (int argc, vbox = gtk_vbox_new (0, FALSE); gtk_container_add (GTK_CONTAINER (window), vbox); - scale = gtk_hscale_new_with_range (0, - G_PI * 2, - 0.01); + scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, + 0, G_PI * 2, 0.01); gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0); button = gtk_button_new_with_label ("Remove child 2"); |