summaryrefslogtreecommitdiff
path: root/gtk/gtkbin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkbin.h')
-rw-r--r--gtk/gtkbin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkbin.h b/gtk/gtkbin.h
index c919c1d941..4e55bf21ce 100644
--- a/gtk/gtkbin.h
+++ b/gtk/gtkbin.h
@@ -24,6 +24,10 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#ifndef __GTK_BIN_H__
#define __GTK_BIN_H__