[gtk/wip/otte/gdk-headers: 1/6] gdk: Remove gdk.h include from gdk-private.h
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/gdk-headers: 1/6] gdk: Remove gdk.h include from gdk-private.h
- Date: Fri, 24 Sep 2021 19:02:17 +0000 (UTC)
commit 3142660152a3fee6d990c9402ed9873877c6eb85
Author: Benjamin Otte <otte redhat com>
Date: Fri Sep 24 20:14:16 2021 +0200
gdk: Remove gdk.h include from gdk-private.h
gdk/gdk-private.h | 1 -
gdk/gdkapplaunchcontext.h | 2 +-
gdk/gdkdisplay.c | 1 +
gdk/gdkevents.c | 7 ++++---
4 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gdk/gdk-private.h b/gdk/gdk-private.h
index 4ce4761844..2985815fdc 100644
--- a/gdk/gdk-private.h
+++ b/gdk/gdk-private.h
@@ -1,7 +1,6 @@
#ifndef __GDK__PRIVATE_H__
#define __GDK__PRIVATE_H__
-#include <gdk/gdk.h>
#include "gdk/gdkinternals.h"
/* Private API for use in GTK+ */
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h
index 73296592f4..23178483a0 100644
--- a/gdk/gdkapplaunchcontext.h
+++ b/gdk/gdkapplaunchcontext.h
@@ -32,7 +32,7 @@ G_BEGIN_DECLS
#define GDK_TYPE_APP_LAUNCH_CONTEXT (gdk_app_launch_context_get_type ())
#define GDK_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_APP_LAUNCH_CONTEXT,
GdkAppLaunchContext))
- #define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o),
GDK_TYPE_APP_LAUNCH_CONTEXT))
+#define GDK_IS_APP_LAUNCH_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_APP_LAUNCH_CONTEXT))
GDK_AVAILABLE_IN_ALL
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 1f4b524250..6916cc0e34 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -27,6 +27,7 @@
#include "gdkintl.h"
#include "gdk-private.h"
+#include "gdkapplaunchcontext.h"
#include "gdkclipboardprivate.h"
#include "gdkdeviceprivate.h"
#include "gdkdisplaymanagerprivate.h"
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 99e3dc8941..fcfeda6f96 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -24,13 +24,14 @@
#include "config.h"
-#include "gdkintl.h"
-#include "gdkeventsprivate.h"
-#include "gdkinternals.h"
#include "gdkdisplayprivate.h"
#include "gdkdragprivate.h"
#include "gdkdropprivate.h"
+#include "gdkeventsprivate.h"
+#include "gdkinternals.h"
+#include "gdkintl.h"
#include "gdkkeysprivate.h"
+#include "gdkkeysyms.h"
#include "gdk-private.h"
#include <gobject/gvaluecollector.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]