summaryrefslogtreecommitdiff
path: root/gtk/gtktreesortable.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktreesortable.h')
-rw-r--r--gtk/gtktreesortable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktreesortable.h b/gtk/gtktreesortable.h
index dd7282a192..ca9311fa1b 100644
--- a/gtk/gtktreesortable.h
+++ b/gtk/gtktreesortable.h
@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
+#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_TREE_SORTABLE_H__
#define __GTK_TREE_SORTABLE_H__