make gdkquartz-cocoa-access.h usable again

There is no need to include gdkquartz.h there,
which was making it impossible to include this header file
without also adding gdk/ as an include directory when compiling.
This patch moves the include to the only location where it is actually needed.
This commit is contained in:
totaam 2023-03-13 21:44:49 +07:00 committed by John Ralls
parent 43a99b1c8e
commit 1e1e1a1b8b
2 changed files with 1 additions and 5 deletions

View File

@ -25,11 +25,6 @@
#include <AppKit/AppKit.h>
#include <gdk/gdk.h>
#if (defined (GTK_COMPILATION) || defined (GDK_COMPILATION))
#include "gdkquartz.h"
#else
#include <gdk/gdkquartz.h>
#endif
GDK_AVAILABLE_IN_ALL
NSEvent *gdk_quartz_event_get_nsevent (GdkEvent *event);

View File

@ -40,6 +40,7 @@
#include "gtklabel.h"
#include "gtkfilechooserentry.h"
#include "gtkfilefilterprivate.h"
#include "gdkquartz.h"
#include <quartz/gdkquartz-cocoa-access.h>
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060