diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-06-05 13:44:42 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-06-05 21:39:08 +0000 |
commit | 1736a1bcc6bb6b51df23bdfe7a44955cb5d88546 (patch) | |
tree | 860517f1748ba2ff84e2387a6ae0b074fa548ac2 /ui | |
parent | ab6108cbdfeaa47c4802bdb242d8a35d0726cd4d (diff) | |
download | wireshark-1736a1bcc6bb6b51df23bdfe7a44955cb5d88546.tar.gz |
Clean up stats_tree_presentation.
Remove some unused struct members and accompanying callbacks.
Change-Id: I64d32ddf886038e8f19bc3f88e86c8d7578db648
Reviewed-on: https://code.wireshark.org/review/8779
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cli/tap-stats_tree.c | 4 | ||||
-rw-r--r-- | ui/gtk/stats_tree_stat.c | 11 | ||||
-rw-r--r-- | ui/qt/stats_tree_dialog.cpp | 9 |
3 files changed, 4 insertions, 20 deletions
diff --git a/ui/cli/tap-stats_tree.c b/ui/cli/tap-stats_tree.c index 72ae99a3d5..f30a5dc23b 100644 --- a/ui/cli/tap-stats_tree.c +++ b/ui/cli/tap-stats_tree.c @@ -136,8 +136,8 @@ free_tree_presentation(stats_tree *st) void register_tap_listener_stats_tree_stat(void) { - stats_tree_presentation(register_stats_tree_tap, NULL, NULL, NULL, NULL, - NULL, free_tree_presentation, NULL, NULL, NULL); + stats_tree_presentation(register_stats_tree_tap, NULL, + free_tree_presentation, NULL); } /* diff --git a/ui/gtk/stats_tree_stat.c b/ui/gtk/stats_tree_stat.c index aa00b340cd..59864e1d74 100644 --- a/ui/gtk/stats_tree_stat.c +++ b/ui/gtk/stats_tree_stat.c @@ -569,17 +569,8 @@ free_tree_presentation(stats_tree* st) void register_tap_listener_stats_tree_stat(void) { - stats_tree_presentation(register_gtk_stats_tree_tap, - NULL, - NULL, - NULL, - NULL, - NULL, - free_tree_presentation, - NULL, - NULL, - NULL); + NULL, free_tree_presentation, NULL); } void gtk_stats_tree_cb(GtkAction *action, gpointer user_data _U_) diff --git a/ui/qt/stats_tree_dialog.cpp b/ui/qt/stats_tree_dialog.cpp index ea80d99d3f..8d5dd34fa2 100644 --- a/ui/qt/stats_tree_dialog.cpp +++ b/ui/qt/stats_tree_dialog.cpp @@ -328,14 +328,7 @@ register_tap_listener_stats_tree_stat(void) { stats_tree_presentation(NULL, StatsTreeDialog::setupNode, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL); + NULL, NULL); } } |