aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/voip_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/voip_calls.c')
-rw-r--r--gtk/voip_calls.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c
index cf2a7b0bc2..c049d6f633 100644
--- a/gtk/voip_calls.c
+++ b/gtk/voip_calls.c
@@ -72,9 +72,7 @@
#include "simple_dialog.h"
#ifdef HAVE_LIBPORTAUDIO
-#if GTK_MAJOR_VERSION >= 2
#include "rtp_player.h"
-#endif /* GTK_MAJOR_VERSION >= 2 */
#endif /* HAVE_LIBPORTAUDIO */
#ifdef NEED_G_ASCII_STRCASECMP_H
@@ -144,11 +142,9 @@ void voip_calls_reset(voip_calls_tapinfo_t *tapinfo)
GList* list;
#ifdef HAVE_LIBPORTAUDIO
-#if GTK_MAJOR_VERSION >= 2
/* reset the RTP player */
reset_rtp_player();
#endif
-#endif
/* free the data items first */
list = g_list_first(tapinfo->callsinfo_list);
@@ -508,11 +504,9 @@ RTP_packet( void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, void con
}
/* add this RTP for future listening using the RTP Player*/
-#if GTK_MAJOR_VERSION >= 2
#ifdef HAVE_LIBPORTAUDIO
add_rtp_packet(pi, pinfo);
#endif
-#endif
/* check wether we already have a RTP stream with this setup frame and ssrc in the list */
list = g_list_first(tapinfo->list);