Fix GTK1 compilation.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 9 Aug 2007 20:41:09 +0000 (20:41 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 9 Aug 2007 20:41:09 +0000 (20:41 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22479 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/rtp_player.c

index b4e01984bdd99af08a37102f1b82d7bb83ca71ff..10a73d3201a489efd344f0e9b96c726b6cd6dd51 100644 (file)
@@ -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 <epan/stats_tree.h>
 #include <epan/addr_resolv.h>
@@ -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;