aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ansi_a_stat.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-21 20:42:07 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-06-21 20:42:07 +0000
commit7d575e7a5e87006f78dbe2c940150fb367c25951 (patch)
tree6b95952b18f23f80e6dc61e47fafa350258a72a0 /gtk/ansi_a_stat.c
parent8780361baeb0e489fb9c7f1adfd2d5512d39d17b (diff)
Change window_new() to dlg_window_new() and destroy the window with the top level window.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28796 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/ansi_a_stat.c')
-rw-r--r--gtk/ansi_a_stat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/ansi_a_stat.c b/gtk/ansi_a_stat.c
index d3fb09bc53..19e202fe0b 100644
--- a/gtk/ansi_a_stat.c
+++ b/gtk/ansi_a_stat.c
@@ -295,7 +295,9 @@ ansi_a_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), 480, 450);
vbox=gtk_vbox_new(FALSE, 3);