summaryrefslogtreecommitdiff
path: root/examples/helloworld2
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 05:00:32 +0200
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 17:37:03 +0900
commitc15ef6405c74fedcca53002de8135ae92c4d15e0 (patch)
tree54a831c12b97cbaa07cd45fc006d616368a8e496 /examples/helloworld2
parentae1d1fd0489aa1ad89c2cebe5ddb5b58200c588a (diff)
downloadgtk+-c15ef6405c74fedcca53002de8135ae92c4d15e0.tar.gz
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'examples/helloworld2')
-rw-r--r--examples/helloworld2/helloworld2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/helloworld2/helloworld2.c b/examples/helloworld2/helloworld2.c
index d661d164a2..93fde5bcef 100644
--- a/examples/helloworld2/helloworld2.c
+++ b/examples/helloworld2/helloworld2.c
@@ -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);