aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/mtp3_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/mtp3_stat.c')
-rw-r--r--gtk/mtp3_stat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/mtp3_stat.c b/gtk/mtp3_stat.c
index 398578997e..503c6b33c6 100644
--- a/gtk/mtp3_stat.c
+++ b/gtk/mtp3_stat.c
@@ -40,7 +40,8 @@
#include "epan/packet_info.h"
#include "epan/epan.h"
#include "epan/value_string.h"
-#include "tap_menu.h"
+#include "../stat.h"
+#include "stat_menu.h"
#include "image/clist_ascend.xpm"
#include "image/clist_descend.xpm"
#include "simple_dialog.h"
@@ -445,7 +446,7 @@ register_tap_listener_gtkmtp3_stat(void)
GString *err_p;
- register_tap_listener_cmd_arg("mtp3,", mtp3_stat_gtk_init);
+ register_stat_cmd_arg("mtp3,", mtp3_stat_gtk_init);
memset((void *) &mtp3_stat, 0, sizeof(mtp3_stat_t));
@@ -463,6 +464,6 @@ register_tap_listener_gtkmtp3_stat(void)
exit(1);
}
- register_tap_menu_item("MTP3/MSUs", REGISTER_TAP_GROUP_TELEPHONY,
+ register_stat_menu_item("MTP3/MSUs", REGISTER_STAT_GROUP_TELEPHONY,
mtp3_stat_gtk_cb, NULL, NULL, NULL);
}