Commit 88ef199e authored by Matthias Clasen's avatar Matthias Clasen

Inclusion cleanups in headers

parent 9d644e9d
......@@ -31,7 +31,6 @@
#ifndef __GDK_MAIN_H__
#define __GDK_MAIN_H__
#include <glib.h>
#include <gdk/gdktypes.h>
G_BEGIN_DECLS
......
......@@ -31,6 +31,8 @@
#ifndef __GDK_RECTANGLE_H__
#define __GDK_RECTANGLE_H__
#include <gdk/gdktypes.h>
G_BEGIN_DECLS
/* Rectangle utilities
......
......@@ -29,8 +29,8 @@
#define __GDK_SCREEN_H__
#include <cairo.h>
#include "gdk/gdktypes.h"
#include "gdk/gdkdisplay.h"
#include <gdk/gdktypes.h>
#include <gdk/gdkdisplay.h>
G_BEGIN_DECLS
......
......@@ -31,6 +31,8 @@
#ifndef __GDK_THREADS_H__
#define __GDK_THREADS_H__
#include <gdk/gdktypes.h>
G_BEGIN_DECLS
void gdk_threads_init (void);
......
......@@ -21,8 +21,8 @@
#ifndef __GDK_ASYNC_H__
#define __GDK_ASYNC_H__
#include <gdk/gdkdisplay.h>
#include <X11/Xlib.h>
#include "gdk.h"
G_BEGIN_DECLS
......
......@@ -21,6 +21,7 @@
#define __GDK_DEVICE_XI2_H__
#include <gdk/gdkdeviceprivate.h>
#include <X11/extensions/XInput2.h>
G_BEGIN_DECLS
......
......@@ -24,14 +24,13 @@
#ifndef __GDK_DISPLAY_X11__
#define __GDK_DISPLAY_X11__
#include <X11/X.h>
#include <X11/Xlib.h>
#include <glib.h>
#include <gdk/gdkdisplay.h>
#include <gdk/gdkkeys.h>
#include <gdk/gdkwindow.h>
#include <gdk/gdkinternals.h>
#include <gdk/gdk.h> /* For gdk_get_program_class() */
#include <gdk/gdkmain.h>
#include <X11/X.h>
#include <X11/Xlib.h>
G_BEGIN_DECLS
......
......@@ -28,7 +28,6 @@
#define __GDK_DRAWABLE_X11_H__
#include <gdk/gdkdrawable.h>
#include <X11/Xlib.h>
G_BEGIN_DECLS
......
......@@ -31,14 +31,12 @@
#ifndef __GDK_PRIVATE_X11_H__
#define __GDK_PRIVATE_X11_H__
#include <cairo-xlib.h>
#include <gdk/gdkcursor.h>
#include <gdk/gdkprivate.h>
#include <gdk/x11/gdkwindow-x11.h>
#include <gdk/x11/gdkdisplay-x11.h>
#include "gdk/gdkinternals.h"
#include <gdk/gdkinternals.h>
#include "gdkwindow-x11.h"
#include "gdkdisplay-x11.h"
#include <cairo-xlib.h>
typedef struct _GdkCursorPrivate GdkCursorPrivate;
......
......@@ -24,10 +24,10 @@
#ifndef __GDK_SCREEN_X11_H__
#define __GDK_SCREEN_X11_H__
#include "gdkprivate-x11.h"
#include "xsettings-client.h"
#include <gdk/gdkscreen.h>
#include <gdk/gdkvisual.h>
#include "gdkprivate-x11.h"
#include "xsettings-client.h"
#include <X11/X.h>
#include <X11/Xlib.h>
......
......@@ -28,7 +28,6 @@
#define __GDK_X_H__
#include <gdk/gdkprivate.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
......
......@@ -23,6 +23,8 @@
#ifndef XSETTINGS_COMMON_H
#define XSETTINGS_COMMON_H
#include <unistd.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment