From f47b14b717c16fc82f3f33b0bc5259f446a1aafa Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 26 Jan 2015 02:21:00 +0100 Subject: video/out: cosmetics: rename VO_EVENT_ICC_PROFILE_PATH_CHANGED Remove the "PATH" bit, because VOCTRL_GET_ICC_PROFILE returns an in- memory profile, and not a path. (This was changed a while ago.) --- video/out/cocoa_common.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'video/out/cocoa_common.m') diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index 47f686dbd4..e89504c472 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -419,7 +419,7 @@ static void cocoa_add_fs_screen_profile_observer(struct vo *vo) return; void (^nblock)(NSNotification *n) = ^(NSNotification *n) { - s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED; + s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED; }; s->fs_icc_changed_ns_observer = [[NSNotificationCenter defaultCenter] @@ -586,7 +586,7 @@ static void vo_cocoa_fullscreen(struct vo *vo) draw_changes_after_next_frame(vo); [(MpvEventsView *)s->view setFullScreen:opts->fullscreen]; - s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED; + s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED; s->pending_events |= VO_EVENT_RESIZE; } @@ -736,6 +736,6 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg) - (void)didChangeWindowedScreenProfile:(NSScreen *)screen { struct vo_cocoa_state *s = self.vout->cocoa; - s->pending_events |= VO_EVENT_ICC_PROFILE_PATH_CHANGED; + s->pending_events |= VO_EVENT_ICC_PROFILE_CHANGED; } @end -- cgit v1.2.3