summaryrefslogtreecommitdiff
path: root/gtk/rpc_stat.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-05-27 19:59:50 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-05-27 19:59:50 +0000
commit8d121bfb928569e167ad6c35b5ed97ab5388804f (patch)
treefe47d6b38945a0937210a3aaf2322d913dd0e3fd /gtk/rpc_stat.c
parent6f8e9eeafe523a2809079e4a3a125db0a76c68b2 (diff)
downloadwireshark-8d121bfb928569e167ad6c35b5ed97ab5388804f.tar.gz
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/rpc_stat.c')
-rw-r--r--gtk/rpc_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/rpc_stat.c b/gtk/rpc_stat.c
index 55e3fd05ff..92f4de9208 100644
--- a/gtk/rpc_stat.c
+++ b/gtk/rpc_stat.c
@@ -1,7 +1,7 @@
/* rpc_stat.c
* rpc_stat 2002 Ronnie Sahlberg
*
- * $Id: rpc_stat.c,v 1.46 2004/05/23 23:24:06 ulfl Exp $
+ * $Id: rpc_stat.c,v 1.47 2004/05/27 19:59:50 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -419,6 +419,7 @@ gtk_rpcstat_cb(GtkWidget *w _U_, gpointer d _U_)
}
dlg=dlg_window_new("Ethereal: Compute ONC-RPC SRT statistics");
+ gtk_window_set_default_size(GTK_WINDOW(dlg), 300, -1);
dlg_box=gtk_vbox_new(FALSE, 10);
gtk_container_border_width(GTK_CONTAINER(dlg_box), 10);
@@ -484,7 +485,6 @@ gtk_rpcstat_cb(GtkWidget *w _U_, gpointer d _U_)
/* Filter entry */
filter_entry=gtk_entry_new();
- WIDGET_SET_SIZE(filter_entry, 300, -1);
SIGNAL_CONNECT(filter_entry, "changed", filter_te_syntax_check_cb, NULL);
/* filter prefs dialog */