diff options
author | Christian Hergert <christian@hergert.me> | 2023-01-12 13:22:47 -0800 |
---|---|---|
committer | Christian Hergert <christian@hergert.me> | 2023-01-12 13:22:47 -0800 |
commit | 958ecf285522082a8023eb03bfccadd1975f1dd8 (patch) | |
tree | 0d6aa0372330ef4c64f0322afa3e24963a1e719f | |
parent | fb12ad807a6cc7ae614881a8b3ebb2a0ed5bca9a (diff) | |
download | gtk+-958ecf285522082a8023eb03bfccadd1975f1dd8.tar.gz |
gdk/macos: fix warning about _coreCursorType
-rw-r--r-- | gdk/macos/gdkmacoscursor.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |