summaryrefslogtreecommitdiff
path: root/gtk/rpc_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/rpc_stat.c')
-rw-r--r--gtk/rpc_stat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/rpc_stat.c b/gtk/rpc_stat.c
index 88d26caac1..3e97ac2ce9 100644
--- a/gtk/rpc_stat.c
+++ b/gtk/rpc_stat.c
@@ -37,7 +37,8 @@
#include <epan/packet_info.h>
#include <epan/epan.h>
-#include "tap_menu.h"
+#include "../stat.h"
+#include "stat_menu.h"
#include "simple_dialog.h"
#include "ui_util.h"
#include "dlg_utils.h"
@@ -536,8 +537,8 @@ gtk_rpcstat_cb(GtkWidget *w _U_, gpointer d _U_)
void
register_tap_listener_gtkrpcstat(void)
{
- register_tap_listener_cmd_arg("rpc,srt,", gtk_rpcstat_init);
+ register_stat_cmd_arg("rpc,srt,", gtk_rpcstat_init);
- register_tap_menu_item("ONC-RPC...", REGISTER_TAP_GROUP_RESPONSE_TIME,
+ register_stat_menu_item("ONC-RPC...", REGISTER_STAT_GROUP_RESPONSE_TIME,
gtk_rpcstat_cb, NULL, NULL, NULL);
}