mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 05:20:17 +00:00
gtk-demo: Fix the shortcuts-window demo
Presenting the shortcutswindow got lost
in fb8e52f0c9
. Oops.
This commit is contained in:
parent
cad5771a66
commit
1eae87621d
@ -22,6 +22,7 @@ show_shortcuts (GtkWidget *window,
|
|||||||
gtk_window_set_transient_for (GTK_WINDOW (overlay), GTK_WINDOW (window));
|
gtk_window_set_transient_for (GTK_WINDOW (overlay), GTK_WINDOW (window));
|
||||||
g_object_set (overlay, "view-name", view, NULL);
|
g_object_set (overlay, "view-name", view, NULL);
|
||||||
g_object_unref (builder);
|
g_object_unref (builder);
|
||||||
|
gtk_window_present (GTK_WINDOW (overlay));
|
||||||
}
|
}
|
||||||
|
|
||||||
G_MODULE_EXPORT void
|
G_MODULE_EXPORT void
|
||||||
|
Loading…
Reference in New Issue
Block a user