diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2009-02-10 03:54:55 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2009-02-10 03:54:55 +0000 |
commit | f904f42f9da356bcc70377046c7f6617e5bcba4b (patch) | |
tree | 3b043a447bd4dd271a3877bdbcd0773a3cde939c /epan/libwireshark.def | |
parent | ba78d5f30e5a6f3873fcec88fc95ae3ce320a76a (diff) |
Remove an ugly hack:
There was an ugly hack while creating the menu, that tried to detect the stat_group a stats_tree belongs to by looking at the name string. That makes it unnecessarily hard to understand how the menu is really created.
Fix: Add a new function stats_tree_register_with_group() that takes the stat_group as a parameter. Use this function where a stats_tree doesn't fit into the default "unsorted" group.
svn path=/trunk/; revision=27407
Diffstat (limited to 'epan/libwireshark.def')
-rw-r--r-- | epan/libwireshark.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/libwireshark.def b/epan/libwireshark.def index 5be53413e6..616bdf4bcb 100644 --- a/epan/libwireshark.def +++ b/epan/libwireshark.def @@ -877,6 +877,7 @@ stats_tree_parent_id_by_name stats_tree_presentation stats_tree_range_node_with_pname stats_tree_register +stats_tree_register_with_group stats_tree_reinit stats_tree_reset stats_tree_tick_pivot |