Fixed uiNewWindow() parameters not being honored on the GTK+ backend.

This commit is contained in:
Pietro Gagliardi 2015-04-28 13:17:36 -04:00
parent c32a50e63c
commit 23cf870e01
1 changed files with 3 additions and 0 deletions

View File

@ -172,6 +172,9 @@ uiWindow *uiNewWindow(const char *title, int width, int height, int hasMenubar)
w->container = GTK_CONTAINER(w->widget);
w->window = GTK_WINDOW(w->widget);
gtk_window_set_title(w->window, title);
gtk_window_resize(w->window, width, height);
w->vboxWidget = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
w->vboxContainer = GTK_CONTAINER(w->vboxWidget);
w->vbox = GTK_BOX(w->vboxWidget);