diff options
author | TingPing <tngpng@gmail.com> | 2013-08-05 04:03:26 -0400 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-08-05 04:03:26 -0400 |
commit | 5224c275e8a35e9fbdc55889a481d9e56e6afe0e (patch) | |
tree | 6861ac59be1bf232c79732140d2820fe48ea0557 /src | |
parent | 272b3d2f824df37472adf22993e59ae9b084e04d (diff) |
Destroy utility windows with their parents.
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-gtk/gtkutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-gtk/gtkutil.c b/src/fe-gtk/gtkutil.c index 11206e02..8a3de06f 100644 --- a/src/fe-gtk/gtkutil.c +++ b/src/fe-gtk/gtkutil.c @@ -678,6 +678,7 @@ gtkutil_window_new (char *title, char *role, int width, int height, int flags) { gtk_window_set_type_hint (GTK_WINDOW (win), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_window_set_transient_for (GTK_WINDOW (win), GTK_WINDOW (parent_window)); + gtk_window_set_destroy_with_parent (GTK_WINDOW (win), TRUE); } return win; |