mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
gtk-demo: Don't make demos modal
That way, demo windows can be maximized and multiple demos can run at once. It's especially useful when using --run because the main window is invisible then.
This commit is contained in:
parent
22eccbdbb6
commit
c5ea59d7d1
@ -1249,7 +1249,6 @@ out:
|
||||
demo = (func) (window);
|
||||
|
||||
gtk_window_set_transient_for (GTK_WINDOW (demo), GTK_WINDOW (window));
|
||||
gtk_window_set_modal (GTK_WINDOW (demo), TRUE);
|
||||
|
||||
g_signal_connect_swapped (G_OBJECT (demo), "destroy", G_CALLBACK (g_application_quit), app);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user