summaryrefslogtreecommitdiff
path: root/ui/gtk/io_stat.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-07-09 16:44:47 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-07-09 16:44:47 +0000
commitdacf47c217a7134ac6bfd3ed7db5ad6f76598962 (patch)
tree196f67b849601ba4df8e33a11cc4f26e5660ec89 /ui/gtk/io_stat.c
parent398f94dd24cda521a322cbf0d55e4f6bc9ac7e25 (diff)
downloadwireshark-dacf47c217a7134ac6bfd3ed7db5ad6f76598962.tar.gz
Remove the advanced filter field arbitrary text limit of 100 and remove the filter field arbitrary text limit of 256.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8909 #BACKPORT(1.10,1.8) svn path=/trunk/; revision=50465
Diffstat (limited to 'ui/gtk/io_stat.c')
-rw-r--r--ui/gtk/io_stat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/gtk/io_stat.c b/ui/gtk/io_stat.c
index e7a18c4527..75aae26ca5 100644
--- a/ui/gtk/io_stat.c
+++ b/ui/gtk/io_stat.c
@@ -2188,9 +2188,7 @@ create_advanced_menu(io_stat_graph_t *gio, GtkWidget *box, const char *name, Gt
static void
create_advanced_field(io_stat_graph_t *gio, GtkWidget *box)
{
-
gio->calc_field = gtk_entry_new();
- gtk_entry_set_max_length(GTK_ENTRY(gio->calc_field),100);
gtk_box_pack_start(GTK_BOX(box), gio->calc_field, TRUE, TRUE, 0);
gtk_widget_show(gio->calc_field);
g_signal_connect(gio->calc_field, "activate", G_CALLBACK(filter_callback), gio);
@@ -2292,7 +2290,6 @@ create_filter_box(io_stat_graph_t *gio, GtkWidget *box, int num)
gtk_widget_show(gio->filter_bt);
gio->filter_field = gtk_entry_new();
- gtk_entry_set_max_length(GTK_ENTRY(gio->filter_field),256);
/* filter prefs dialog */
g_object_set_data(G_OBJECT(gio->filter_bt), E_FILT_TE_PTR_KEY, gio->filter_field);
/* filter prefs dialog */