summaryrefslogtreecommitdiff
path: root/gtk/gtksettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtksettings.h')
-rw-r--r--gtk/gtksettings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtksettings.h b/gtk/gtksettings.h
index f058e00a68..ffab06c31e 100644
--- a/gtk/gtksettings.h
+++ b/gtk/gtksettings.h
@@ -15,6 +15,11 @@
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, 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_SETTINGS_H__
#define __GTK_SETTINGS_H__