diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-12-14 10:35:24 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-12-14 10:35:24 +0000 |
commit | ced29277267476bbe4ba5e35f79a8d6a130cb989 (patch) | |
tree | 8c3ae435998cc3c4e26b166d07d9e582c83c43fb /gio/gfileinputstream.h | |
parent | 3db93c01b7184c77ace833be7500cf0f8a7e481a (diff) | |
download | glib-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/gfileinputstream.h')
-rw-r--r-- | gio/gfileinputstream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gfileinputstream.h b/gio/gfileinputstream.h index 77e7f9f8d..5f1f89100 100644 --- a/gio/gfileinputstream.h +++ b/gio/gfileinputstream.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_FILE_INPUT_STREAM_H__ #define __G_FILE_INPUT_STREAM_H__ |