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>
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);
return (edt != NULL) ? filter_entry->is_filter_valid(&edt->pi) : FALSE;
}
+#define MAX_NUM_COLOR_CONVERSATION_COLORS 10
+
static void
menu_color_conversation_filter(capture_file *cf)
{