]> Pileus Git - ~andy/gtk/blobdiff - examples/buttons/buttons.c
Use gtk_box_new() instead gtk_[v|h]box_new()
[~andy/gtk] / examples / buttons / buttons.c
index d78ce834cd34a31732fda54a66b78a02ead81ee5..df68fcb42f8342b3f57c68613dbc6aaebb1712ba 100644 (file)
@@ -13,7 +13,7 @@ static GtkWidget *xpm_label_box( gchar     *xpm_filename,
     GtkWidget *image;
 
     /* Create box for image and label */
-    box = gtk_hbox_new (FALSE, 0);
+    box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 0);
     gtk_container_set_border_width (GTK_CONTAINER (box), 2);
 
     /* Now on to the image stuff */