summaryrefslogtreecommitdiff
path: root/gtk/gtkstatusicon.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkstatusicon.h')
-rwxr-xr-xgtk/gtkstatusicon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkstatusicon.h b/gtk/gtkstatusicon.h
index e58eb6adb..d372509a3 100755
--- a/gtk/gtkstatusicon.h
+++ b/gtk/gtkstatusicon.h
@@ -21,6 +21,10 @@
* Mark McLoughlin <mark@skynet.ie>
*/
+#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_STATUS_ICON_H__
#define __GTK_STATUS_ICON_H__