[gtk/wip/carlosg/backports-4-6: 3/9] widget-factory: Use gtk_window_present()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/carlosg/backports-4-6: 3/9] widget-factory: Use gtk_window_present()
- Date: Wed, 16 Mar 2022 18:52:55 +0000 (UTC)
commit d077f113b2aa8585d871c8e56e43e406c56f941c
Author: Guido Günther <agx sigxcpu org>
Date: Tue Jan 11 20:27:25 2022 +0100
widget-factory: Use gtk_window_present()
This lets xdg-activation work as otherwise gdk_wayland_surface_focus is
never invoked.
demos/widget-factory/widget-factory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 319ad760ac..5e0353b80b 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -2360,7 +2360,7 @@ activate (GApplication *app)
model = (GMenuModel *)gtk_builder_get_object (builder, "new_style_context_menu_model");
set_up_context_popover (widget, model);
- gtk_widget_show (GTK_WIDGET (window));
+ gtk_window_present (window);
g_object_unref (builder);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]