[gtk/wip/carlosg/backports-4-6: 5/9] print-editor: Use gtk_window_present()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/carlosg/backports-4-6: 5/9] print-editor: Use gtk_window_present()
- Date: Wed, 16 Mar 2022 18:52:55 +0000 (UTC)
commit a36594e754f8982a00160a18aec65ffbc11297f9
Author: Guido Günther <agx sigxcpu org>
Date: Tue Jan 11 20:27:25 2022 +0100
print-editor: Use gtk_window_present()
This lets xdg-activation work as otherwise gdk_wayland_surface_focus is
never invoked.
demos/print-editor/print-editor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/print-editor/print-editor.c b/demos/print-editor/print-editor.c
index bfadd5e494..ca5d143d06 100644
--- a/demos/print-editor/print-editor.c
+++ b/demos/print-editor/print-editor.c
@@ -871,7 +871,7 @@ activate (GApplication *app)
update_ui ();
- gtk_widget_show (main_window);
+ gtk_window_present (GTK_WINDOW (main_window));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]