summaryrefslogtreecommitdiff
path: root/gtk/gtkaboutdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkaboutdialog.h')
-rw-r--r--gtk/gtkaboutdialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.h b/gtk/gtkaboutdialog.h
index b77e658c19..bf471044c3 100644
--- a/gtk/gtkaboutdialog.h
+++ b/gtk/gtkaboutdialog.h
@@ -22,6 +22,10 @@
Author: Anders Carlsson <andersca@codefactory.se>
*/
+#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_ABOUT_DIALOG_H__
#define __GTK_ABOUT_DIALOG_H__