g_slist_foreach(color_filter_list, prime_edt, edt);
}
+#ifndef NEW_PACKET_LIST
/* Colorize a single packet of the packet list */
color_filter_t *
color_filters_colorize_packet(gint row, epan_dissect_t *edt)
(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
packet_list_set_colors(row, &(colorf->fg_color), &(colorf->bg_color));
+#endif
return colorf;
}
curr = g_slist_next(curr);
return NULL;
}
+#endif /* NEW_PACKET_LIST */
/* read filters from the given file */
/* XXX - Would it make more sense to use GStrings here instead of reallocing