[epiphany/wip/exalm/gtk4-cleanups-2: 18/27] window-commands: Stop using gtk_dialog_run() for encodings




commit 217b03e7fd5a92538c34e0c57230003b1c8e3e51
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 30 16:33:47 2021 +0500

    window-commands: Stop using gtk_dialog_run() for encodings

 src/window-commands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index fe5da25bd..ec50c3316 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -2416,7 +2416,7 @@ window_cmd_encoding (GSimpleAction *action,
 
   dialog = ephy_encoding_dialog_new (window);
   gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (window));
-  gtk_dialog_run (GTK_DIALOG (dialog));
+  gtk_window_present (GTK_WINDOW (dialog));
 }
 
 void


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