path: root/color_filters.h
diff options
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')
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
-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
+ *
+ */
/* Prime the epan_dissect_t with all the compiler
* color filters of the current filter list.