summaryrefslogtreecommitdiff
path: root/gio/gasyncresult.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2007-12-14 10:35:24 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-12-14 10:35:24 +0000
commitced29277267476bbe4ba5e35f79a8d6a130cb989 (patch)
tree8c3ae435998cc3c4e26b166d07d9e582c83c43fb /gio/gasyncresult.h
parent3db93c01b7184c77ace833be7500cf0f8a7e481a (diff)
downloadglib-ced29277267476bbe4ba5e35f79a8d6a130cb989.tar.gz
Only allow including <gio/gio.h> from apps
2007-12-14 Alexander Larsson <alexl@redhat.com> * Makefile.am: * fam/Makefile.am: * gappinfo.h: * gasyncresult.h: * gbufferedinputstream.h: * gbufferedoutputstream.h: * gcancellable.h: * gcontenttype.h: * gdatainputstream.h: * gdataoutputstream.h: * gdesktopappinfo.h: * gdirectorymonitor.h: * gdrive.h: * gfile.h: * gfileattribute.h: * gfileenumerator.h: * gfileicon.h: * gfileinfo.h: * gfileinputstream.h: * gfilemonitor.h: * gfilenamecompleter.h: * gfileoutputstream.h: * gfilterinputstream.h: * gfilteroutputstream.h: * gicon.h: * ginputstream.h: * gio.h: * gioerror.h: * giomodule.h: * gioscheduler.h: * gloadableicon.h: * gmemoryinputstream.h: * gmemoryoutputstream.h: * gmount.h: * gmountoperation.h: * goutputstream.h: * gseekable.h: * gsimpleasyncresult.h: * gthemedicon.h: * gunixinputstream.h: * gunixmounts.h: * gunixoutputstream.h: * gvfs.h: * gvolume.h: * gvolumemonitor.h: * inotify/Makefile.am: Only allow including <gio/gio.h> from apps svn path=/trunk/; revision=6117
Diffstat (limited to 'gio/gasyncresult.h')
-rw-r--r--gio/gasyncresult.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gasyncresult.h b/gio/gasyncresult.h
index 123c20a7b..640d61118 100644
--- a/gio/gasyncresult.h
+++ b/gio/gasyncresult.h
@@ -20,6 +20,10 @@
* 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_ASYNC_RESULT_H__
#define __G_ASYNC_RESULT_H__