diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-10-28 21:30:27 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-10-29 04:32:44 +0000 |
commit | 7cdbbe08d298288a4da7d099e3f4f75eacf90ab1 (patch) | |
tree | 2470f3c6a58e15b2c75b13b96d8296eb33c7a881 /epan | |
parent | c77b232131fe7861713a6db06e12392f149cb573 (diff) | |
download | wireshark-7cdbbe08d298288a4da7d099e3f4f75eacf90ab1.tar.gz |
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>
(cherry picked from commit 2e24cb77242e4cedbbf340d2920969a646bdeaca)
Reviewed-on: https://code.wireshark.org/review/11386
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissector_filters.h | 2 |
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); |