gdk/macos: fix warning about _coreCursorType
authorChristian Hergert <christian@hergert.me>
Thu, 12 Jan 2023 21:22:47 +0000 (13:22 -0800)
committerChristian Hergert <christian@hergert.me>
Thu, 12 Jan 2023 21:22:47 +0000 (13:22 -0800)
gdk/macos/gdkmacoscursor.c

index cf571a9a11232933f66391ac215d7ae6a6d83f7c..64b328850f450a5692e4f31568ca9759d8f489f9 100644 (file)
 
 #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