diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-06-21 20:42:07 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-06-21 20:42:07 +0000 |
commit | 135ca5136ff5a9d79341228ca9e325ccba733214 (patch) | |
tree | 6b95952b18f23f80e6dc61e47fafa350258a72a0 /gtk/gsm_map_summary.c | |
parent | 24c392d2048e789ace71a661245855f322c624e7 (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_summary.c')
-rw-r--r-- | gtk/gsm_map_summary.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gsm_map_summary.c b/gtk/gsm_map_summary.c index 25e7690069..e01b279f03 100644 --- a/gtk/gsm_map_summary.c +++ b/gtk/gsm_map_summary.c @@ -95,7 +95,8 @@ gsm_map_stat_gtk_sum_cb(GtkWidget *w _U_, gpointer d _U_) /* initial compututations */ seconds = summary.stop_time - summary.start_time; - sum_open_w = window_new(GTK_WINDOW_TOPLEVEL, "GSM MAP Statistics: Summary"); + sum_open_w = dlg_window_new("GSM MAP Statistics: Summary"); /* transient_for top_level */ + gtk_window_set_destroy_with_parent (GTK_WINDOW(sum_open_w), TRUE); /* Container for each row of widgets */ main_vb = gtk_vbox_new(FALSE, 3); |