aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/hostlist_fc.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/hostlist_fc.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/hostlist_fc.c')
-rw-r--r--gtk/hostlist_fc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gtk/hostlist_fc.c b/gtk/hostlist_fc.c
index ddac218fe2..0e2e153553 100644
--- a/gtk/hostlist_fc.c
+++ b/gtk/hostlist_fc.c
@@ -78,29 +78,15 @@ gtk_fc_hostlist_init(const char *optarg, void* userdata _U_)
}
-#ifdef MAIN_MENU_USE_UIMANAGER
void
gtk_fc_hostlist_cb(GtkAction *action _U_, gpointer user_data _U_)
{
gtk_fc_hostlist_init("hosts,fc",NULL);
}
-#else
-static void
-gtk_fc_hostlist_cb(GtkWidget *w _U_, gpointer d _U_)
-{
- gtk_fc_hostlist_init("hosts,fc",NULL);
-}
-#endif
void
register_tap_listener_fc_hostlist(void)
{
register_stat_cmd_arg("hosts,fc", gtk_fc_hostlist_init,NULL);
-
-#ifdef MAIN_MENU_USE_UIMANAGER
-#else
- register_stat_menu_item("Fibre Channel", REGISTER_STAT_GROUP_ENDPOINT_LIST,
- gtk_fc_hostlist_cb, NULL, NULL, NULL);
-#endif
register_hostlist_table(TRUE, "Fibre Channel", "fc", NULL /*filter*/, fc_hostlist_packet);
}