aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.h
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2007-11-25 14:17:56 +0000
committerSake Blok <sake@euronet.nl>2007-11-25 14:17:56 +0000
commit61e7574a5cfd88d96673a8f403be78e46e5398d7 (patch)
treefd1314301a382355b2472f4177127c41892aa047 /color_filters.h
parentdb2f6ce546b0233dff7ebf7331e2506a2f5f17fa (diff)
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
Diffstat (limited to 'color_filters.h')
-rw-r--r--color_filters.h9
1 files changed, 8 insertions, 1 deletions
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.