summaryrefslogtreecommitdiff
path: root/gtk/gtktextmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktextmark.h')
-rw-r--r--gtk/gtktextmark.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextmark.h b/gtk/gtktextmark.h
index 41bcb9492f..7eb80f0599 100644
--- a/gtk/gtktextmark.h
+++ b/gtk/gtktextmark.h
@@ -47,6 +47,10 @@
*
*/
+#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_TEXT_MARK_H__
#define __GTK_TEXT_MARK_H__