summaryrefslogtreecommitdiff
path: root/gdk/gdkimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkimage.h')
-rw-r--r--gdk/gdkimage.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdk/gdkimage.h b/gdk/gdkimage.h
index 5b8303be6b..1c3c40176c 100644
--- a/gdk/gdkimage.h
+++ b/gdk/gdkimage.h
@@ -21,9 +21,13 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
+#error "Only <gdk/gdk.h> can be included directly."
+#endif
+
#ifndef __GDK_IMAGE_H__
#define __GDK_IMAGE_H__