aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/h225_ras_srt.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-05-24 03:10:56 +0000
committerGuy Harris <guy@alum.mit.edu>2013-05-24 03:10:56 +0000
commit3598d9e2ac7582715d0af8a32b5ffccefeec98a9 (patch)
tree9ae7974f944846b2e2ff5444abae9beb983973c3 /ui/gtk/h225_ras_srt.c
parentba77e3c54d6aaf5617c76ffbcc2f4a6759b702bb (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/h225_ras_srt.c')
-rw-r--r--ui/gtk/h225_ras_srt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/gtk/h225_ras_srt.c b/ui/gtk/h225_ras_srt.c
index eb70db6746..bd12ac71d2 100644
--- a/ui/gtk/h225_ras_srt.c
+++ b/ui/gtk/h225_ras_srt.c
@@ -335,9 +335,3 @@ register_tap_listener_gtk_h225rassrt(void)
register_param_stat(&h225_rassrt_dlg, "H.225 RAS",
REGISTER_STAT_GROUP_RESPONSE_TIME);
}
-
-void h225_srt_cb(GtkAction *action, gpointer user_data _U_)
-{
- tap_param_dlg_cb(action, &h225_rassrt_dlg);
-}
-