Use gtk_box_new() instead gtk_[v|h]box_new()
This commit is contained in:

committed by
Tristan Van Berkom

parent
ae1d1fd048
commit
c15ef6405c
@ -48,7 +48,7 @@ int main (int argc,
|
||||
/* We create a box to pack widgets into. This is described in detail
|
||||
* in the "packing" section. The box is not really visible, it
|
||||
* is just used as a tool to arrange widgets. */
|
||||
box1 = gtk_hbox_new (FALSE, 0);
|
||||
box1 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 0);
|
||||
|
||||
/* Put the box into the main window. */
|
||||
gtk_container_add (GTK_CONTAINER (window), box1);
|
||||
|
Reference in New Issue
Block a user