aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissector_filters.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-10-28 21:30:27 -0700
committerGuy Harris <guy@alum.mit.edu>2015-10-29 04:30:56 +0000
commit2e24cb77242e4cedbbf340d2920969a646bdeaca (patch)
tree5bbe10588ceff33cbc842502778db8a515524389 /epan/dissector_filters.h
parenta937d6b2e5f0ebafef59aba28c2d9ef9ee0a5912 (diff)
Move the definition of MAX_NUM_COLOR_CONVERSATION_COLORS.
It's only used by the GTK+ main menubar code, so put it there. I guess the Qt UI either doesn't have such a limit or defines it itself. Change-Id: I221be506ac40eee33514301db737ef7e22deb7a6 Reviewed-on: https://code.wireshark.org/review/11385 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissector_filters.h')
-rw-r--r--epan/dissector_filters.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissector_filters.h b/epan/dissector_filters.h
index 8e001d0207..867d64dc34 100644
--- a/epan/dissector_filters.h
+++ b/epan/dissector_filters.h
@@ -40,8 +40,6 @@ typedef gboolean (*is_filter_valid_func)(packet_info *pinfo);
Filter needs to be freed after use */
typedef gchar* (*build_filter_string_func)(packet_info *pinfo);
-#define MAX_NUM_COLOR_CONVERSATION_COLORS 10
-
/** register a dissector filter */
WS_DLL_PUBLIC void register_conversation_filter(const char *proto_name, const char *display_name,
is_filter_valid_func is_filter_valid, build_filter_string_func build_filter_string);