diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-05-24 03:10:56 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-05-24 03:10:56 +0000 |
commit | 3598d9e2ac7582715d0af8a32b5ffccefeec98a9 (patch) | |
tree | 9ae7974f944846b2e2ff5444abae9beb983973c3 /ui/gtk/gtp_stat.c | |
parent | ba77e3c54d6aaf5617c76ffbcc2f4a6759b702bb (diff) |
Have register_param_stat() add menu items, rather than having the menu
items hardcoded into ui/gtk/main_menubar.c
Get rid of more stuff implying that the code for adding menu items is
used only by Lua, as it's also used by register_param_stat().
Add the items to the menu list sorted by the menu item name shown to the
user.
Get rid of some const declarations that are lies.
Use the label given for a menu item as the label in the menu, rather
than parsing it from a token.
svn path=/trunk/; revision=49552
Diffstat (limited to 'ui/gtk/gtp_stat.c')
-rw-r--r-- | ui/gtk/gtp_stat.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/gtk/gtp_stat.c b/ui/gtk/gtp_stat.c index 3e6c27c437..908a8a95f8 100644 --- a/ui/gtk/gtp_stat.c +++ b/ui/gtk/gtp_stat.c @@ -228,9 +228,3 @@ register_tap_listener_gtkgtpstat(void) register_param_stat(>p_stat_dlg, "GTP", REGISTER_STAT_GROUP_RESPONSE_TIME); } - -void gtp_srt_cb(GtkAction *action, gpointer user_data _U_) -{ - tap_param_dlg_cb(action, >p_stat_dlg); -} - |