From 23cf870e01149027b70b92838f0fb510f8533867 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 28 Apr 2015 13:17:36 -0400 Subject: [PATCH] Fixed uiNewWindow() parameters not being honored on the GTK+ backend. --- new/unix/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/new/unix/window.c b/new/unix/window.c index 13962177..90ee8349 100644 --- a/new/unix/window.c +++ b/new/unix/window.c @@ -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);