aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-30 05:33:05 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-30 05:33:05 +0000
commite0597caf79defd2c0604cdd841bab09b4c0443b3 (patch)
tree1e41f86e4000a86a470c7dd837904f3d71b3b74b /gtk
parentbbf5cddcd55ade8f450bf2d1ae476371d7d7219a (diff)
Stuff in "colors.c" largely need work only on a "colfilter", not on a
"capture_file" - when handed a "capture_file *", it only cared about the "colors" entry. The only time it cares about a "capture_file" is when it's actually filtering the packets, as it needs to hand the "capture_file *" to "colorize_packets()". Make the stuff exported by "colors.c" in "colors.h" take "colfilter *" arguments (or return a "colfilter *" to be stuffed into a "capture_file"). svn path=/trunk/; revision=1162
Diffstat (limited to 'gtk')
-rw-r--r--gtk/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/main.c b/gtk/main.c
index a9ba7b50b3..c623969340 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -1,6 +1,6 @@
/* main.c
*
- * $Id: main.c,v 1.55 1999/11/29 22:45:12 gram Exp $
+ * $Id: main.c,v 1.56 1999/11/30 05:33:05 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1310,7 +1310,7 @@ main(int argc, char *argv[])
gtk_widget_show(window);
- colors_init(&cf);
+ cf.colors = colfilter_new();
/* If we were given the name of a capture file, read it in now;
we defer it until now, so that, if we can't open it, and pop