From 4e2dc614bee84c03924c069aa0d1a9a1ad7260ed Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 21 Aug 2005 09:48:27 +0000 Subject: Add a "register_dfilter_stat()", to register stats that take a display filter as an argument on the command line and have a dialog box to enter the display filter through the GUI. Use it for all stats using "gtk_tap_dfilter_dlg_cb()". Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E" for the benefit of the declaration of "register_dfilter_stat()" in the top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk directory to "gtk_stat_menu.h", so as not to have two headers with the same name. Get rid of headers not declaring any functions not being used in the module. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15493 f5534014-38df-0310-8fa8-9805f1628bb7 --- gtk/mtp3_stat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/mtp3_stat.c') diff --git a/gtk/mtp3_stat.c b/gtk/mtp3_stat.c index c2b2a957a6..afc2a0a1b4 100644 --- a/gtk/mtp3_stat.c +++ b/gtk/mtp3_stat.c @@ -41,7 +41,8 @@ #include "epan/epan.h" #include "epan/value_string.h" #include -#include "stat_menu.h" +#include "../stat_menu.h" +#include "gtk_stat_menu.h" #include "image/clist_ascend.xpm" #include "image/clist_descend.xpm" #include "simple_dialog.h" -- cgit v1.2.3