Merge branch 'matthiasc/for-main' into 'main'

gtk-demo: Fix the shortcuts-window demo

See merge request GNOME/gtk!5548
This commit is contained in:
Matthias Clasen 2023-02-23 01:03:41 +00:00
commit 41b67c4722

View File

@ -22,6 +22,7 @@ show_shortcuts (GtkWidget *window,
gtk_window_set_transient_for (GTK_WINDOW (overlay), GTK_WINDOW (window));
g_object_set (overlay, "view-name", view, NULL);
g_object_unref (builder);
gtk_window_present (GTK_WINDOW (overlay));
}
G_MODULE_EXPORT void