aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ui_util.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-30 06:43:16 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-30 06:43:16 +0000
commitd3316d2834d374ab40e58036e55f7c4fbf9225b0 (patch)
tree3f647adad44184abdbd04eba2ad8575c5ba3daff /gtk/ui_util.c
parent3c76ec1aa2df73ab7548905da786d99b576515eb (diff)
slightly higher polling rate, to detect stop condition from capture task
svn path=/trunk/; revision=9909
Diffstat (limited to 'gtk/ui_util.c')
-rw-r--r--gtk/ui_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/ui_util.c b/gtk/ui_util.c
index 36132d2d32..b7cd1b8aae 100644
--- a/gtk/ui_util.c
+++ b/gtk/ui_util.c
@@ -1,7 +1,7 @@
/* ui_util.c
* UI utility routines
*
- * $Id: ui_util.c,v 1.16 2004/01/22 20:47:37 guy Exp $
+ * $Id: ui_util.c,v 1.17 2004/01/30 06:43:16 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -128,7 +128,7 @@ pipe_timer_cb(gpointer data)
/* And call the real handler */
if (pipe_input->input_cb(pipe_input->source, pipe_input->user_data)) {
/* restore pipe handler */
- pipe_input->pipe_input_id = gtk_timeout_add(1000, pipe_timer_cb, data);
+ pipe_input->pipe_input_id = gtk_timeout_add(200, pipe_timer_cb, data);
}
/* Return false so that this timer is not run again */
@@ -182,7 +182,7 @@ void pipe_input_set_handler(gint source, gpointer user_data, int *child_process,
this but doesn't seem to work over processes. Attempt to do
something similar here, start a timer and check for data on every
timeout. */
- pipe_input.pipe_input_id = gtk_timeout_add(1000, pipe_timer_cb, &pipe_input);
+ pipe_input.pipe_input_id = gtk_timeout_add(200, pipe_timer_cb, &pipe_input);
#else
pipe_input.pipe_input_id = gtk_input_add_full(source,
GDK_INPUT_READ|GDK_INPUT_EXCEPTION,