diff options
author | Jörg Mayer <jmayer@loplof.de> | 2011-09-25 21:19:45 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2011-09-25 21:19:45 +0000 |
commit | 420acb2fba82e515b54f0e2da4a4aa8054e7e705 (patch) | |
tree | 5ba23b8070f84746cfba469999a1d86e47adea7e /gtk/rpc_stat.c | |
parent | c3d02e4b57659e16beb9230257fc159c8bc5efbe (diff) | |
download | wireshark-420acb2fba82e515b54f0e2da4a4aa8054e7e705.tar.gz |
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/rpc_stat.c')
-rw-r--r-- | gtk/rpc_stat.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gtk/rpc_stat.c b/gtk/rpc_stat.c index 10d4da62a8..0a04230211 100644 --- a/gtk/rpc_stat.c +++ b/gtk/rpc_stat.c @@ -408,13 +408,8 @@ dlg_destroy_cb(GtkWidget *w _U_, gpointer user_data _U_) dlg=NULL; } -#ifdef MAIN_MENU_USE_UIMANAGER -void +void gtk_rpcstat_cb(GtkAction *action _U_, gpointer user_data _U_) -#else -static void -gtk_rpcstat_cb(GtkWidget *w _U_, gpointer d _U_) -#endif { GtkWidget *dlg_box; GtkWidget *prog_box, *prog_label; @@ -538,10 +533,5 @@ void register_tap_listener_gtkrpcstat(void) { register_stat_cmd_arg("rpc,srt,", gtk_rpcstat_init, NULL); - -#ifdef MAIN_MENU_USE_UIMANAGER -#else - register_stat_menu_item("ONC-RPC...", REGISTER_STAT_GROUP_RESPONSE_TIME, - gtk_rpcstat_cb, NULL, NULL, NULL); -#endif } + |