From 958ecf285522082a8023eb03bfccadd1975f1dd8 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 12 Jan 2023 13:22:47 -0800 Subject: [PATCH] gdk/macos: fix warning about _coreCursorType --- gdk/macos/gdkmacoscursor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdk/macos/gdkmacoscursor.c b/gdk/macos/gdkmacoscursor.c index cf571a9a11..64b328850f 100644 --- a/gdk/macos/gdkmacoscursor.c +++ b/gdk/macos/gdkmacoscursor.c @@ -23,6 +23,10 @@ #include "gdkmacoscursor-private.h" +@interface NSCursor() +-(long long)_coreCursorType; +@end + /* OS X only exports a number of cursor types in its public NSCursor interface. * By overriding the private _coreCursorType method, we can tell OS X to load * one of its internal cursors instead (since cursor images are loaded on demand -- 2.30.2