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.
This commit is contained in:
Chun-wei Fan 2021-09-29 10:40:56 +08:00
parent 502b3ceaa2
commit 9bff56db9f
2 changed files with 9 additions and 6 deletions

View File

@ -24,9 +24,11 @@
#include "gdkdevice-virtual.h" #include "gdkdevice-virtual.h"
#include "gdkdevice-winpointer.h" #include "gdkdevice-winpointer.h"
#include "gdkdeviceprivate.h" #include "gdkdeviceprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkseatdefaultprivate.h"
#include "gdkdevicetoolprivate.h" #include "gdkdevicetoolprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkeventsprivate.h"
#include "gdkseatdefaultprivate.h"
#include "gdkinput-winpointer.h" #include "gdkinput-winpointer.h"
#include <windows.h> #include <windows.h>

View File

@ -29,18 +29,19 @@
#include <stdlib.h> #include <stdlib.h>
#include "gdk.h" #include "gdk.h"
#include "gdksurfaceprivate.h"
#include "gdktoplevelprivate.h"
#include "gdkpopupprivate.h"
#include "gdkdragsurfaceprivate.h"
#include "gdkprivate-win32.h" #include "gdkprivate-win32.h"
#include "gdkdeviceprivate.h" #include "gdkdeviceprivate.h"
#include "gdkdevicemanager-win32.h" #include "gdkdevicemanager-win32.h"
#include "gdkenumtypes.h" #include "gdkenumtypes.h"
#include "gdkwin32.h" #include "gdkwin32.h"
#include "gdkdisplayprivate.h" #include "gdkdisplayprivate.h"
#include "gdkdragsurfaceprivate.h"
#include "gdkframeclockidleprivate.h" #include "gdkframeclockidleprivate.h"
#include "gdkmonitorprivate.h" #include "gdkmonitorprivate.h"
#include "gdkpopupprivate.h"
#include "gdkseatprivate.h"
#include "gdksurfaceprivate.h"
#include "gdktoplevelprivate.h"
#include "gdkwin32surface.h" #include "gdkwin32surface.h"
#include "gdkwin32cursor.h" #include "gdkwin32cursor.h"
#include "gdkinput-winpointer.h" #include "gdkinput-winpointer.h"