summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproperties.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkstyleproperties.h')
-rw-r--r--gtk/gtkstyleproperties.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkstyleproperties.h b/gtk/gtkstyleproperties.h
index 4ff783a729..113fe44f93 100644
--- a/gtk/gtkstyleproperties.h
+++ b/gtk/gtkstyleproperties.h
@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#ifndef __GTK_STYLE_PROPERTIES_H__
#define __GTK_STYLE_PROPERTIES_H__