macos: Don't include gdkinternals.h

This commit is contained in:
Benjamin Otte 2021-09-24 21:04:47 +02:00
parent 226ecaf9a2
commit 4e836493cc
14 changed files with 24 additions and 20 deletions

View File

@ -25,11 +25,11 @@
#import "GdkMacosBaseView.h"
#import "GdkMacosWindow.h"
#include "gdkinternals.h"
#include "gdkmacosdisplay-private.h"
#include "gdkmacossurface-private.h"
#include "gdkdebug.h"
@implementation GdkMacosBaseView
-(id)initWithFrame:(NSRect)frameRect

View File

@ -23,7 +23,6 @@
#include <CoreGraphics/CoreGraphics.h>
#include <cairo-quartz.h>
#include "gdkinternals.h"
#import "GdkMacosCairoSubview.h"
#import "GdkMacosCairoView.h"

View File

@ -24,7 +24,6 @@
#include <CoreGraphics/CoreGraphics.h>
#include <cairo-quartz.h>
#include "gdkinternals.h"
#import "GdkMacosCairoView.h"
#import "GdkMacosCairoSubview.h"

View File

@ -23,7 +23,6 @@
#include <CoreGraphics/CoreGraphics.h>
#include <OpenGL/gl.h>
#include "gdkinternals.h"
#include "gdkmacossurface-private.h"
#import "GdkMacosGLView.h"

View File

@ -37,6 +37,7 @@
#include "gdkmacostoplevelsurface-private.h"
#include "gdkmacosutils-private.h"
#include "gdkeventsprivate.h"
#include "gdkmonitorprivate.h"
#include "gdksurfaceprivate.h"

View File

@ -30,6 +30,8 @@
#include "gdkmacossurface-private.h"
#include "gdkmacosseat-private.h"
#include "gdk/gdkeventsprivate.h"
#define GDK_MOD2_MASK (1 << 4)
#define GRIP_WIDTH 15
#define GRIP_HEIGHT 15

View File

@ -19,16 +19,19 @@
#include "config.h"
#include "gdkdeviceprivate.h"
#include "gdkintl.h"
#include "gdk-private.h"
#include "gdkmacosdrag-private.h"
#include "gdkmacosdevice-private.h"
#include "gdkmacoscursor-private.h"
#include "gdkmacosdisplay-private.h"
#include "gdkmacosdrag-private.h"
#include "gdkmacosdragsurface-private.h"
#include "gdk/gdkdeviceprivate.h"
#include "gdk/gdkeventsprivate.h"
#include "gdk/gdkintl.h"
#include "gdk/gdkseatprivate.h"
#include "gdk/gdk-private.h"
#define BIG_STEP 20
#define SMALL_STEP 1
#define ANIM_TIME 500000 /* .5 seconds */

View File

@ -27,12 +27,12 @@
#include <unistd.h>
#include "gdkdisplayprivate.h"
#include "gdkinternals.h"
#include "gdkmacoseventsource-private.h"
#include "gdkmacosdisplay-private.h"
#include "gdk-private.h"
#include "gdk/gdkeventsprivate.h"
#include "gdk/gdk-private.h"
/*
* This file implementations integration between the GLib main loop and

View File

@ -24,7 +24,6 @@
#include "gdkglcontextprivate.h"
#include "gdkdisplayprivate.h"
#include "gdksurface.h"
#include "gdkinternals.h"
#include "gdkmacosdisplay.h"
#include "gdkmacossurface.h"

View File

@ -23,7 +23,6 @@
#include "gdkmacossurface-private.h"
#include "gdkmacostoplevelsurface-private.h"
#include "gdkinternals.h"
#include "gdkintl.h"
#include <OpenGL/gl.h>

View File

@ -21,12 +21,13 @@
#import "GdkMacosWindow.h"
#include "gdkinternals.h"
#include "gdkmacospopupsurface-private.h"
#include "gdkpopupprivate.h"
#include "gdkseatprivate.h"
#include "gdkmacosdisplay-private.h"
#include "gdkmacosmonitor.h"
#include "gdkmacospopupsurface-private.h"
#include "gdkmacosutils-private.h"
struct _GdkMacosPopupSurface

View File

@ -23,7 +23,6 @@
#include <AppKit/AppKit.h>
#include <cairo.h>
#include "gdkinternals.h"
#include "gdksurfaceprivate.h"
#include "gdkmacosdisplay.h"

View File

@ -25,10 +25,13 @@
#import "GdkMacosCairoView.h"
#include "gdkmacossurface-private.h"
#include "gdkdeviceprivate.h"
#include "gdkdisplay.h"
#include "gdkeventsprivate.h"
#include "gdkframeclockidleprivate.h"
#include "gdkinternals.h"
#include "gdkseatprivate.h"
#include "gdksurfaceprivate.h"
#include "gdkmacosdevice.h"
@ -39,7 +42,6 @@
#include "gdkmacosglcontext-private.h"
#include "gdkmacosmonitor-private.h"
#include "gdkmacospopupsurface-private.h"
#include "gdkmacossurface-private.h"
#include "gdkmacostoplevelsurface-private.h"
#include "gdkmacosutils-private.h"

View File

@ -21,12 +21,13 @@
#import "GdkMacosWindow.h"
#include "gdkinternals.h"
#include "gdkmacostoplevelsurface-private.h"
#include "gdkseatprivate.h"
#include "gdktoplevelprivate.h"
#include "gdkmacosdisplay-private.h"
#include "gdkmacosmonitor-private.h"
#include "gdkmacostoplevelsurface-private.h"
#include "gdkmacosutils-private.h"
static void