Add missign single include guards

Reported in bug 609530. patch by Christian Dywan.
This commit is contained in:
Matthias Clasen 2010-02-21 16:12:35 -05:00
parent dd7bd61c53
commit 21080a33e1
4 changed files with 16 additions and 0 deletions

View File

@ -20,6 +20,10 @@
* Author: Alexander Larsson <alexl@redhat.com> * 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_CHARSET_CONVERTER_H__ #ifndef __G_CHARSET_CONVERTER_H__
#define __G_CHARSET_CONVERTER_H__ #define __G_CHARSET_CONVERTER_H__

View File

@ -1,3 +1,7 @@
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
#error "Only <gio/gio.h> can be included directly."
#endif
#ifndef __G_NATIVE_VOLUME_MONITOR_H__ #ifndef __G_NATIVE_VOLUME_MONITOR_H__
#define __G_NATIVE_VOLUME_MONITOR_H__ #define __G_NATIVE_VOLUME_MONITOR_H__

View File

@ -20,6 +20,10 @@
* Author: Alexander Larsson <alexl@redhat.com> * 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_ZLIB_COMPRESSOR_H__ #ifndef __G_ZLIB_COMPRESSOR_H__
#define __G_ZLIB_COMPRESSOR_H__ #define __G_ZLIB_COMPRESSOR_H__

View File

@ -20,6 +20,10 @@
* Author: Alexander Larsson <alexl@redhat.com> * 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_ZLIB_DECOMPRESSOR_H__ #ifndef __G_ZLIB_DECOMPRESSOR_H__
#define __G_ZLIB_DECOMPRESSOR_H__ #define __G_ZLIB_DECOMPRESSOR_H__