From 7e33de36d7c9ae5529b5c3be5f55c7777badccd4 Mon Sep 17 00:00:00 2001 From: Jaap Keuter Date: Thu, 9 Aug 2007 20:41:09 +0000 Subject: [PATCH] Fix GTK1 compilation. svn path=/trunk/; revision=22479 --- gtk/rtp_player.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gtk/rtp_player.c b/gtk/rtp_player.c index b4e01984bd..10a73d3201 100644 --- a/gtk/rtp_player.c +++ b/gtk/rtp_player.c @@ -56,6 +56,8 @@ #endif #ifdef HAVE_LIBPORTAUDIO +/* TODO: The RTP Player it is only supported for GTK >=2 */ +#if GTK_MAJOR_VERSION >= 2 #include #include @@ -161,9 +163,6 @@ PortAudioStream *pa_stream; PaStream *pa_stream; #endif /* PORTAUDIO_API_1 */ -/* TODO: The RTP Player it is only supported for GTK >=2 */ -#if GTK_MAJOR_VERSION >= 2 - /* defines a RTP stream */ typedef struct _rtp_stream_info { address src_addr;