summaryrefslogtreecommitdiff
path: root/gtk/gtkexpander.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkexpander.h')
-rw-r--r--gtk/gtkexpander.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkexpander.h b/gtk/gtkexpander.h
index e5bfa45440..97163dc5c1 100644
--- a/gtk/gtkexpander.h
+++ b/gtk/gtkexpander.h
@@ -21,6 +21,10 @@
* Mark McLoughlin <mark@skynet.ie>
*/
+#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_EXPANDER_H__
#define __GTK_EXPANDER_H__