Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()

This commit is contained in:
Javier Jardón
2010-10-30 02:01:27 +02:00
parent b3a7d401a1
commit 8177ad320e
7 changed files with 34 additions and 19 deletions

View File

@ -561,7 +561,8 @@ do_offscreen_window (GtkWidget *do_widget)
gtk_container_set_border_width (GTK_CONTAINER (window), 10);
vbox = gtk_vbox_new (0, FALSE);
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_scale_set_draw_value (GTK_SCALE (scale), FALSE);
button = gtk_button_new_with_label ("A Button");