diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-25 21:19:45 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-25 21:19:45 +0000 |
commit | b6cff9dad9503234d477f4a711c3332e97db7c81 (patch) | |
tree | 5ba23b8070f84746cfba469999a1d86e47adea7e /gtk/hostlist_ipx.c | |
parent | ebbb8bc6475f92c879beecda738b6a32003c1a44 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39137 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/hostlist_ipx.c')
-rw-r--r-- | gtk/hostlist_ipx.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gtk/hostlist_ipx.c b/gtk/hostlist_ipx.c index 59f76d5fc4..79cac56300 100644 --- a/gtk/hostlist_ipx.c +++ b/gtk/hostlist_ipx.c @@ -75,30 +75,15 @@ gtk_ipx_hostlist_init(const char *optarg, void* userdata _U_) } -#ifdef MAIN_MENU_USE_UIMANAGER void gtk_ipx_hostlist_cb(GtkAction *action _U_, gpointer user_data _U_) { gtk_ipx_hostlist_init("hosts,ipx",NULL); } -#else -static void -gtk_ipx_hostlist_cb(GtkWidget *w _U_, gpointer d _U_) -{ - gtk_ipx_hostlist_init("hosts,ipx",NULL); -} -#endif - void register_tap_listener_ipx_hostlist(void) { register_stat_cmd_arg("hosts,ipx", gtk_ipx_hostlist_init,NULL); - -#ifdef MAIN_MENU_USE_UIMANAGER -#else - register_stat_menu_item("IPX", REGISTER_STAT_GROUP_ENDPOINT_LIST, - gtk_ipx_hostlist_cb, NULL, NULL, NULL); -#endif register_hostlist_table(TRUE, "IPX", "ipx", NULL /*filter*/, ipx_hostlist_packet); } |