ui/gtk/window.c

changeset 107
9aff1dc3990d
parent 106
a4f4123ca12a
child 111
40dbf1a7526a
--- a/ui/gtk/window.c	Sat Jan 23 20:47:07 2016 +0100
+++ b/ui/gtk/window.c	Sat Jan 23 23:44:41 2016 +0100
@@ -87,7 +87,7 @@
             G_CALLBACK(ui_exit_event),
             window_data);
     
-    GtkWidget *vbox = ui_gtk_vbox_new();
+    GtkWidget *vbox = ui_gtk_vbox_new(0);
     gtk_container_add(GTK_CONTAINER(obj->widget), vbox);
     
     if(!simple) {
@@ -110,7 +110,7 @@
     gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0);
     
     // content vbox
-    GtkWidget *content_box = ui_gtk_vbox_new();
+    GtkWidget *content_box = ui_gtk_vbox_new(0);
     gtk_container_add(GTK_CONTAINER(frame), content_box);
     obj->container = ui_box_container(obj, content_box);
     

mercurial