summaryrefslogtreecommitdiff
path: root/tests/testellipsise.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 02:01:27 +0200
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 17:37:03 +0900
commitd03d2943d2a4847f135a441bd924fa9dabf7d6b2 (patch)
tree31c4946a46952af78945f9b35dcecdfc1de3ac73 /tests/testellipsise.c
parentcdf4b4bbd5bf6b4e7a82954bbecf467b6952bde5 (diff)
downloadgtk+-d03d2943d2a4847f135a441bd924fa9dabf7d6b2.tar.gz
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
Diffstat (limited to 'tests/testellipsise.c')
-rw-r--r--tests/testellipsise.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testellipsise.c b/tests/testellipsise.c
index 973b955766..b9a92c21ec 100644
--- a/tests/testellipsise.c
+++ b/tests/testellipsise.c
@@ -137,7 +137,8 @@ main (int argc, char *argv[])
gtk_container_add (GTK_CONTAINER (window), vbox);
combo = gtk_combo_box_text_new ();
- scale = gtk_hscale_new_with_range (0, 360, 1);
+ scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL,
+ 0, 360, 1);
label = gtk_label_new ("This label may be ellipsized\nto make it fit.");
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), "NONE");