aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/rtp_analysis.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2014-11-16 11:32:11 -0800
committerGerald Combs <gerald@wireshark.org>2014-11-17 21:56:00 +0000
commita07f0817d7db615d035892e496b93c1debe33ca4 (patch)
tree074a838333ded5e83f62318c2485c96b71cd5bce /ui/gtk/rtp_analysis.c
parent5c7c7018a08587cd0460d2a70b82364eea4779a5 (diff)
voip_calls: Get rid of global variables.
Move the members of voip_rtp_tapinfo_t to voip_calls_tapinfo_t. Move a bunch of formerly static variables there as well. Note that we might want to make them private again at some point. Remove launch_count. It appeared to be unused. Wrap the individual registration routines in voip_calls_init_all_taps. Wrap the removal routines in voip_calls_remove_all_tap_listeners. Move voip_calls_get_info() to voip_calls_dlg.c. Make it static. Change-Id: I58f9d91f55cfb5e4b0c048a5a1d5d4b947f4641b Reviewed-on: https://code.wireshark.org/review/5372 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/gtk/rtp_analysis.c')
-rw-r--r--ui/gtk/rtp_analysis.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/gtk/rtp_analysis.c b/ui/gtk/rtp_analysis.c
index fa15dcf2cf..ac2673879b 100644
--- a/ui/gtk/rtp_analysis.c
+++ b/ui/gtk/rtp_analysis.c
@@ -2060,7 +2060,6 @@ on_refresh_bt_clicked(GtkWidget *bt _U_, user_data_t *user_data)
static void
on_player_bt_clicked(GtkButton *button _U_, gpointer user_data _U_)
{
- /*rtp_player_init(voip_calls_get_info());*/
rtp_player_init(NULL);
}
#endif /* HAVE_LIBPORTAUDIO */