From a283b355565a1ef9a7a444351fb4929c458d59b9 Mon Sep 17 00:00:00 2001 From: Akemi Date: Mon, 26 Dec 2016 22:45:03 +0100 Subject: cocoa: fix build on OS X 10.9 fixes #3946 --- video/out/cocoa/events_view.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m index d377597006..3bf7bd44f4 100644 --- a/video/out/cocoa/events_view.m +++ b/video/out/cocoa/events_view.m @@ -318,7 +318,7 @@ options:@{}]; NSMutableArray* ar = [[[NSMutableArray alloc] init] autorelease]; for (NSURL* url in pbitems) { - if (url.fileURL) { + if ([url isFileURL]) { [ar addObject:[url path]]; } else { [ar addObject:[url absoluteString]]; -- cgit v1.2.3