summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkscrollbar.h')
-rw-r--r--gtk/gtkscrollbar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkscrollbar.h b/gtk/gtkscrollbar.h
index 2fb94e86f..2c7b3f7a9 100644
--- a/gtk/gtkscrollbar.h
+++ b/gtk/gtkscrollbar.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_SCROLLBAR_H__
#define __GTK_SCROLLBAR_H__