Only allow including <gio/gio.h> from apps
[platform/upstream/glib.git] / gio / gthemedicon.h
index b249d35..7c3a204 100644 (file)
  * Author: Alexander Larsson <alexl@redhat.com>
  */
 
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
 #ifndef __G_THEMED_ICON_H__
 #define __G_THEMED_ICON_H__