Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()

This commit is contained in:
Javier Jardón
2010-10-30 02:11:05 +02:00
committed by Tristan Van Berkom
parent 234553c093
commit 6c301d4b0a
5 changed files with 9 additions and 9 deletions

View File

@ -128,7 +128,7 @@ static void create_range_controls( void )
gtk_widget_show (hscale);
/* Reuse the same adjustment again */
scrollbar = gtk_hscrollbar_new (GTK_ADJUSTMENT (adj1));
scrollbar = gtk_scrollbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_ADJUSTMENT (adj1));
/* Notice how this causes the scales to always be updated
* continuously when the scrollbar is moved */
gtk_range_set_update_policy (GTK_RANGE (scrollbar),