[gtk+] GtkNativeDialog: Fix modal handling in gtk_native_dialog_run()



commit 402225a8e23bcff118055568ca79f4b73a3951f8
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Nov 11 15:12:45 2015 +0100

    GtkNativeDialog: Fix modal handling in gtk_native_dialog_run()

 gtk/gtknativedialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtknativedialog.c b/gtk/gtknativedialog.c
index b56d371..d67047c 100644
--- a/gtk/gtknativedialog.c
+++ b/gtk/gtknativedialog.c
@@ -607,7 +607,7 @@ gtk_native_dialog_run (GtkNativeDialog *self)
   priv->run_loop = g_main_loop_new (NULL, FALSE);
 
   was_modal = priv->modal;
-  gtk_native_dialog_set_modal (self, FALSE);
+  gtk_native_dialog_set_modal (self, TRUE);
 
   response_handler =
     g_signal_connect (self,


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