From 61e7574a5cfd88d96673a8f403be78e46e5398d7 Mon Sep 17 00:00:00 2001 From: Sake Blok Date: Sun, 25 Nov 2007 14:17:56 +0000 Subject: Reset the temporary coloring filters to defaults instead of doing it implicitly by calling "color_filters_init()". This should probably fix the crashes experienced when pressing ctrl-space a couple of times svn path=/trunk/; revision=23583 --- color_filters.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'color_filters.h') diff --git a/color_filters.h b/color_filters.h index 73522b07f4..3daff31153 100644 --- a/color_filters.h +++ b/color_filters.h @@ -70,9 +70,16 @@ color_filters_enable(gboolean enable); * * @param filt_nr a number 1-10 pointing to a temporary color * @param filter the new filter-string + * @param disabled whether the filter-rule should be disabled */ void -color_filters_set_tmp(guint8 filt_nr, gchar *filter); +color_filters_set_tmp(guint8 filt_nr, gchar *filter, gboolean disabled); + +/** Reset the temporary color filters + * + */ +void +color_filters_reset_tmp(); /* Prime the epan_dissect_t with all the compiler * color filters of the current filter list. -- cgit v1.2.3