summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2012-05-30 16:03:55 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-05-30 16:05:14 +0200
commit83a826a92a46e1116d764a05fe9913eb5013a2ac (patch)
treeeecdfc19a8c19fc9d1a2bf0bab7cdea3f98a72fe
parent6c3e633381ec13de30ceb55aaf753ac26ec0ded2 (diff)
osxvideosink: Fix last commit to actually work
MAC_OS_X_VERSION_10_6 is obviously not defined on 10.5.
-rw-r--r--sys/osxvideo/osxvideosink.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/osxvideo/osxvideosink.h b/sys/osxvideo/osxvideosink.h
index 50e362f9e..5d32f5ceb 100644
--- a/sys/osxvideo/osxvideosink.h
+++ b/sys/osxvideo/osxvideosink.h
@@ -109,10 +109,10 @@ GType gst_osx_video_sink_get_type(void);
@end
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6
-@interface GstWindowDelegate : NSObject <NSWindowDelegate>
-#else
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5
@interface GstWindowDelegate : NSObject
+#else
+@interface GstWindowDelegate : NSObject <NSWindowDelegate>
#endif
{
@public