summaryrefslogtreecommitdiff
path: root/gtk/gtkactiongroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkactiongroup.h')
-rw-r--r--gtk/gtkactiongroup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkactiongroup.h b/gtk/gtkactiongroup.h
index 73e9c43e79..2618e91a1d 100644
--- a/gtk/gtkactiongroup.h
+++ b/gtk/gtkactiongroup.h
@@ -27,6 +27,11 @@
* files for a list of changes. These files are distributed with
* 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_ACTION_GROUP_H__
#define __GTK_ACTION_GROUP_H__