summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkselection.h')
-rw-r--r--gtk/gtkselection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h
index 9e97ae2a6d..6fe4dd7ca5 100644
--- a/gtk/gtkselection.h
+++ b/gtk/gtkselection.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_SELECTION_H__
#define __GTK_SELECTION_H__