diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-05-27 19:59:50 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-05-27 19:59:50 +0000 |
commit | 8d121bfb928569e167ad6c35b5ed97ab5388804f (patch) | |
tree | fe47d6b38945a0937210a3aaf2322d913dd0e3fd /gtk/h225_counter.c | |
parent | 6f8e9eeafe523a2809079e4a3a125db0a76c68b2 (diff) |
use gtk_window_set_default_size() instead of WIDGET_SET_SIZE() for the dialogs,
as WIDGET_SET_SIZE() will prevent the user from shrinking the dialog,
and gtk_window_set_default_size() will not
svn path=/trunk/; revision=11021
Diffstat (limited to 'gtk/h225_counter.c')
-rw-r--r-- | gtk/h225_counter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/h225_counter.c b/gtk/h225_counter.c index 35990a0072..4ccff47c19 100644 --- a/gtk/h225_counter.c +++ b/gtk/h225_counter.c @@ -2,7 +2,7 @@ * h225 message counter for ethereal * Copyright 2003 Lars Roland * - * $Id: h225_counter.c,v 1.20 2004/05/23 23:24:05 ulfl Exp $ + * $Id: h225_counter.c,v 1.21 2004/05/27 19:59:49 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -524,6 +524,7 @@ gtk_h225counter_init(char *optarg) h225counter_reset(hs); hs->win=window_new(GTK_WINDOW_TOPLEVEL, "Ethereal: H225 counters"); + gtk_window_set_default_size(GTK_WINDOW(hs->win), 400, 200); hs->vbox=gtk_vbox_new(FALSE, 3); gtk_container_set_border_width(GTK_CONTAINER(hs->vbox), 12); @@ -532,7 +533,6 @@ gtk_h225counter_init(char *optarg) /* init a scrolled window*/ hs->scrolled_window = scrolled_window_new(NULL, NULL); - WIDGET_SET_SIZE(hs->scrolled_window, 400, 200); hs->table = create_stat_table(hs->scrolled_window, hs->vbox, 2, titles); |