[gtk/wip/otte/sortlistmodel: 145/154] gtk-demo: Don't make demos modal
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/sortlistmodel: 145/154] gtk-demo: Don't make demos modal
- Date: Sun, 12 Jul 2020 20:24:57 +0000 (UTC)
commit 385547d5e64d3db98197783df7998ccee1bffd90
Author: Benjamin Otte <otte redhat com>
Date: Sun Jul 12 03:35:11 2020 +0200
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.
demos/gtk-demo/main.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index 11e7f0f1b6..e79ff5d51c 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -1210,7 +1210,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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]