diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-11-02 19:15:26 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-11-02 21:37:55 -0500 |
commit | b3657d5f2e0812790ac5b2888b6c9242d619cc9b (patch) | |
tree | 1b84638f21a5f35788a8dfc3d12e1dbcd5e38711 /demos | |
parent | 82ca65956fd84873ec3d1e79259dda9ceb8be999 (diff) | |
download | gtk+-b3657d5f2e0812790ac5b2888b6c9242d619cc9b.tar.gz |
widget-factory: Restore modality of the about dialog
Make the about dialog of widget-factory modal again.
This was lost in 87a8fda163d419ee3e.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/widget-factory/widget-factory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c index 1d81031a8e..e86ebf6ee4 100644 --- a/demos/widget-factory/widget-factory.c +++ b/demos/widget-factory/widget-factory.c @@ -302,6 +302,7 @@ activate_about (GSimpleAction *action, dialog = g_object_new (GTK_TYPE_ABOUT_DIALOG, "transient-for", gtk_application_get_active_window (app), + "modal", TRUE, "program-name", "GTK Widget Factory", "version", version, "copyright", "© 1997—2020 The GTK Team", |