[gimp/gtk3-port: 316/460] app: do not run gtk_window_present() in about_dialog_create().



commit 78b018f211b7566cec7338833076fe32ded6ae01
Author: Jehan <jehan girinstud io>
Date:   Thu May 3 03:51:28 2018 +0200

    app: do not run gtk_window_present() in about_dialog_create().
    
    The window will be raised soon after anyway. No need to do it too early,
    which makes setting a transient parent useless afterwards. In particular
    we were still getting a "GtkDialog mapped without a transient parent"
    message.

 app/dialogs/about-dialog.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/app/dialogs/about-dialog.c b/app/dialogs/about-dialog.c
index 4c93d00..2ec54fe 100644
--- a/app/dialogs/about-dialog.c
+++ b/app/dialogs/about-dialog.c
@@ -167,8 +167,6 @@ about_dialog_create (GimpContext *context)
       g_list_free (children);
     }
 
-  gtk_window_present (GTK_WINDOW (dialog.dialog));
-
   return dialog.dialog;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]