aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2011-03-08 01:52:25 +0000
committerSake Blok <sake@euronet.nl>2011-03-08 01:52:25 +0000
commit307c0d70fbf7343fbdc37bb324945de1c27a96da (patch)
tree3bc38d1ce7d66021eba710361c78a0404e670bc7 /color_filters.c
parent4f8edc81e68e349f821790920bc7cee59d084c13 (diff)
Removal of the old packet-list in favor of the new packet list.
It compiles with "./configure without options" on my Mac. Let's see what the buildbots have to say about it :-) svn path=/trunk/; revision=36161
Diffstat (limited to 'color_filters.c')
-rw-r--r--color_filters.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/color_filters.c b/color_filters.c
index 99f72a99f5..368e9d2cb9 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -410,11 +410,7 @@ tmp_color_filters_used(void)
void
color_filters_enable(gboolean enable)
{
-#ifdef NEW_PACKET_LIST
new_packet_list_enable_color(enable);
-#else
- filters_enabled = enable;
-#endif
}
@@ -442,11 +438,7 @@ color_filters_prime_edt(epan_dissect_t *edt)
*
* Return the color_t for later use (new packet list) */
const color_filter_t *
-#ifdef NEW_PACKET_LIST
color_filters_colorize_packet(epan_dissect_t *edt)
-#else
-color_filters_colorize_packet(gint row, epan_dissect_t *edt)
-#endif
{
GSList *curr;
color_filter_t *colorf;
@@ -460,11 +452,6 @@ color_filters_colorize_packet(gint row, epan_dissect_t *edt)
if ( (!colorf->disabled) &&
(colorf->c_colorfilter != NULL) &&
dfilter_apply_edt(colorf->c_colorfilter, edt)) {
- /* this is the filter to use, apply it to the packet list */
-#ifndef NEW_PACKET_LIST
- /* We'll do this in the column cell function instead. */
- packet_list_set_colors(row, &(colorf->fg_color), &(colorf->bg_color));
-#endif
return colorf;
}
curr = g_slist_next(curr);