aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gsm_map_stat.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-06-21 20:42:07 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-06-21 20:42:07 +0000
commit135ca5136ff5a9d79341228ca9e325ccba733214 (patch)
tree6b95952b18f23f80e6dc61e47fafa350258a72a0 /gtk/gsm_map_stat.c
parent24c392d2048e789ace71a661245855f322c624e7 (diff)
Change window_new() to dlg_window_new() and destroy the window with the top level window.
svn path=/trunk/; revision=28796
Diffstat (limited to 'gtk/gsm_map_stat.c')
-rw-r--r--gtk/gsm_map_stat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gsm_map_stat.c b/gtk/gsm_map_stat.c
index af13c20fe6..df1eef05fd 100644
--- a/gtk/gsm_map_stat.c
+++ b/gtk/gsm_map_stat.c
@@ -404,7 +404,8 @@ gsm_map_stat_gtk_win_create(
GtkWidget *bbox;
- dlg_p->win = window_new(GTK_WINDOW_TOPLEVEL, title);
+ dlg_p->win = dlg_window_new(title); /* transient_for top_level */
+ gtk_window_set_destroy_with_parent (GTK_WINDOW(dlg_p->win), TRUE);
gtk_window_set_default_size(GTK_WINDOW(dlg_p->win), 560, 390);
vbox = gtk_vbox_new(FALSE, 3);