aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rtp_analysis.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-09-25 21:19:45 +0000
committerJörg Mayer <jmayer@loplof.de>2011-09-25 21:19:45 +0000
commit420acb2fba82e515b54f0e2da4a4aa8054e7e705 (patch)
tree5ba23b8070f84746cfba469999a1d86e47adea7e /gtk/rtp_analysis.c
parentc3d02e4b57659e16beb9230257fc159c8bc5efbe (diff)
We now always build with MAIN_MENU_USE_UIMANAGER, so remove all code using
the old ways except the proto_help.c file, which is kept for now in case someone is willing to reimplement the help menus using non-deprecated methods. svn path=/trunk/; revision=39137
Diffstat (limited to 'gtk/rtp_analysis.c')
-rw-r--r--gtk/rtp_analysis.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gtk/rtp_analysis.c b/gtk/rtp_analysis.c
index 49d97440cd..abd64a9fb0 100644
--- a/gtk/rtp_analysis.c
+++ b/gtk/rtp_analysis.c
@@ -3763,11 +3763,7 @@ void rtp_analysis(
/****************************************************************************/
/* entry point from main menu */
-#ifdef MAIN_MENU_USE_UIMANAGER
void rtp_analysis_cb(GtkAction *action _U_, gpointer user_data _U_)
-#else
-static void rtp_analysis_cb(GtkWidget *w _U_, gpointer data _U_)
-#endif
{
address ip_src_fwd;
guint16 port_src_fwd;
@@ -3911,10 +3907,5 @@ void
register_tap_listener_rtp_analysis(void)
{
register_stat_cmd_arg("rtp", rtp_analysis_init, NULL);
-
-#ifdef MAIN_MENU_USE_UIMANAGER
-#else
- register_stat_menu_item("_RTP/Stream Analysis...", REGISTER_STAT_GROUP_TELEPHONY,
- rtp_analysis_cb, NULL, NULL, NULL);
-#endif
}
+