aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/mgcp_stat.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-06-22 15:22:37 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-06-22 15:22:37 +0000
commit485fc6805bb3f5349b322c2b293bfb7392e490c4 (patch)
tree3183745c46810985d3f08a25119dd4d5d5b2cf11 /gtk/mgcp_stat.c
parent5562e6e8cf857edddc9f7682db5af06bcc5a1389 (diff)
Change window_new() to dlg_window_new() and destroy the window with the top level window.
svn path=/trunk/; revision=28810
Diffstat (limited to 'gtk/mgcp_stat.c')
-rw-r--r--gtk/mgcp_stat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/mgcp_stat.c b/gtk/mgcp_stat.c
index 0ca343d2ca..baf73e76d2 100644
--- a/gtk/mgcp_stat.c
+++ b/gtk/mgcp_stat.c
@@ -264,7 +264,9 @@ gtk_mgcpstat_init(const char *optarg, void *userdata _U_)
mgcpstat_reset(ms);
- ms->win=window_new(GTK_WINDOW_TOPLEVEL, "MGCP SRT");
+ ms->win = dlg_window_new("MGCP SRT"); /* transient_for top_level */
+ gtk_window_set_destroy_with_parent (GTK_WINDOW(ms->win), TRUE);
+
gtk_window_set_default_size(GTK_WINDOW(ms->win), 550, 150);
ms->vbox=gtk_vbox_new(FALSE, 3);