Commit 8193c8c7 authored by William Jon McCann's avatar William Jon McCann

demo: make demo windows transient to the main window

This prevents them getting lost behind.
parent e5726e97
......@@ -142,6 +142,9 @@ activate_run (GSimpleAction *action,
cbdata->model = model;
cbdata->path = gtk_tree_model_get_path (model, &iter);
gtk_window_set_transient_for (GTK_WINDOW (demo), GTK_WINDOW (window));
gtk_window_set_modal (GTK_WINDOW (demo), TRUE);
g_signal_connect (demo, "destroy",
G_CALLBACK (window_closed_cb), cbdata);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment