aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.h
diff options
context:
space:
mode:
authorsake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-25 14:17:56 +0000
committersake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-25 14:17:56 +0000
commite073cd9370b01951513776828fc8a50e63f9d21b (patch)
treefd1314301a382355b2472f4177127c41892aa047 /color_filters.h
parentf1bce0727068af70ad526692ee60bfb8aa23639a (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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23583 f5534014-38df-0310-8fa8-9805f1628bb7
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.