]> Pileus Git - ~andy/gtk/blobdiff - tests/testcalendar.c
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
[~andy/gtk] / tests / testcalendar.c
index 47e9a25abaa85b5cbb1ea543bfc87e9910183ae6..33af80a030f0cc6f60c86ee00c4557959bfbf54c 100644 (file)
@@ -642,7 +642,7 @@ create_calendar(void)
    *  Glue everything together
    */
 
-  bbox = gtk_hbutton_box_new ();
+  bbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
   gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);
 
   button = gtk_button_new_with_label ("Close");