[gtk/master-msvc-fixes: 1/2] GDK-Win32: Fix build
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/master-msvc-fixes: 1/2] GDK-Win32: Fix build
- Date: Wed, 29 Sep 2021 02:48:31 +0000 (UTC)
commit c7aaafaf2171776a1f895a3a393e17a87a870347
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Sep 29 10:40:56 2021 +0800
GDK-Win32: Fix build
Include the appropriate headers as some function prototypes were moved lately.
Also, re-order the include order of the gdk/*private.h headers alphabetically
in the files that were updated.
gdk/win32/gdkinput-winpointer.c | 4 +++-
gdk/win32/gdksurface-win32.c | 9 +++++----
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/gdk/win32/gdkinput-winpointer.c b/gdk/win32/gdkinput-winpointer.c
index 840dbb4b4c..3c65167703 100644
--- a/gdk/win32/gdkinput-winpointer.c
+++ b/gdk/win32/gdkinput-winpointer.c
@@ -24,9 +24,11 @@
#include "gdkdevice-virtual.h"
#include "gdkdevice-winpointer.h"
#include "gdkdeviceprivate.h"
+#include "gdkdevicetoolprivate.h"
#include "gdkdisplayprivate.h"
+#include "gdkeventsprivate.h"
#include "gdkseatdefaultprivate.h"
-#include "gdkdevicetoolprivate.h"
+
#include "gdkinput-winpointer.h"
#include <windows.h>
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index 89a614eac7..75bf874a9e 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -29,18 +29,19 @@
#include <stdlib.h>
#include "gdk.h"
-#include "gdksurfaceprivate.h"
-#include "gdktoplevelprivate.h"
-#include "gdkpopupprivate.h"
-#include "gdkdragsurfaceprivate.h"
#include "gdkprivate-win32.h"
#include "gdkdeviceprivate.h"
#include "gdkdevicemanager-win32.h"
#include "gdkenumtypes.h"
#include "gdkwin32.h"
#include "gdkdisplayprivate.h"
+#include "gdkdragsurfaceprivate.h"
#include "gdkframeclockidleprivate.h"
#include "gdkmonitorprivate.h"
+#include "gdkpopupprivate.h"
+#include "gdkseatprivate.h"
+#include "gdksurfaceprivate.h"
+#include "gdktoplevelprivate.h"
#include "gdkwin32surface.h"
#include "gdkwin32cursor.h"
#include "gdkinput-winpointer.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]