summaryrefslogtreecommitdiff
path: root/gdk/gdk.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-05-28 14:01:57 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-05-28 14:01:57 +0000
commit791ac426d7cdeaee2f0bd201f1d3bfb2a2c0a71b (patch)
tree8aac150aa23d65e89aea420af883e298879d59f2 /gdk/gdk.h
parent382ce2f13825c6b51b8b62db56a5e8ab9abee286 (diff)
downloadgtk+-791ac426d7cdeaee2f0bd201f1d3bfb2a2c0a71b.tar.gz
define __GDK_H_INSIDE__ around including all other headers.
2008-05-28 Michael Natterer <mitch@imendio.com> * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other headers. * gdk/gdkenumtypes.h.template * gdk/gdk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. Also removed some redundant includes and did some tiny trailing whitespace removal that's not worth to commit separately. * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual files. * gdk/win32/gdkwin32.h * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all other includes. svn path=/trunk/; revision=20217
Diffstat (limited to 'gdk/gdk.h')
-rw-r--r--gdk/gdk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdk.h b/gdk/gdk.h
index b661d7a478..b81d48839a 100644
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -27,6 +27,8 @@
#ifndef __GDK_H__
#define __GDK_H__
+#define __GDK_H_INSIDE__
+
#include <gdk/gdkapplaunchcontext.h>
#include <gdk/gdkcairo.h>
#include <gdk/gdkcolor.h>
@@ -56,6 +58,8 @@
#include <gdk/gdkvisual.h>
#include <gdk/gdkwindow.h>
+#undef __GDK_H_INSIDE__
+
G_BEGIN_DECLS