summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooser.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkfilechooser.h')
-rw-r--r--gtk/gtkfilechooser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkfilechooser.h b/gtk/gtkfilechooser.h
index 5b233878b3..63a7c6f11b 100644
--- a/gtk/gtkfilechooser.h
+++ b/gtk/gtkfilechooser.h
@@ -18,6 +18,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_FILE_CHOOSER_H__
#define __GTK_FILE_CHOOSER_H__