From a0e68da9180d65493a42f892fc298eefc9b1d17d Mon Sep 17 00:00:00 2001 From: Guy Harris 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. svn path=/trunk/; revision=15493 --- gtk/hostlist_eth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/hostlist_eth.c') diff --git a/gtk/hostlist_eth.c b/gtk/hostlist_eth.c index a5bdaad93f..cca7d01640 100644 --- a/gtk/hostlist_eth.c +++ b/gtk/hostlist_eth.c @@ -34,7 +34,8 @@ #include #include "epan/packet.h" #include -#include "stat_menu.h" +#include "../stat_menu.h" +#include "gtk_stat_menu.h" #include #include "../register.h" #include "hostlist_table.h" -- cgit v1.2.3