From: John Darrington Date: Sat, 13 Aug 2016 07:13:42 +0000 (+0200) Subject: Fix bug inadvertently introduced by previous commit X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76becf77b452192ae5589b66de456d55fee3d90;p=pspp Fix bug inadvertently introduced by previous commit --- diff --git a/src/ui/gui/main.c b/src/ui/gui/main.c index 6b908e0fe7..1c9c255047 100644 --- a/src/ui/gui/main.c +++ b/src/ui/gui/main.c @@ -221,10 +221,10 @@ on_activate (GApplication * app, gpointer ud) post_initialise (app); GtkWindow *x = create_data_window (); + gtk_application_add_window (GTK_APPLICATION (app), x); if (wsplash) { gtk_window_set_transient_for (GTK_WINDOW (wsplash), GTK_WINDOW (x)); - gtk_application_add_window (GTK_APPLICATION (app), x); gtk_application_add_window (GTK_APPLICATION (app), GTK_WINDOW (wsplash)); gtk_window_set_keep_above (GTK_WINDOW (wsplash), TRUE); gtk_window_present (GTK_WINDOW (wsplash));