From 21080a33e12e87144e0534cd18b3699a9dbc2f36 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 21 Feb 2010 16:12:35 -0500 Subject: [PATCH] Add missign single include guards Reported in bug 609530. patch by Christian Dywan. --- gio/gcharsetconverter.h | 4 ++++ gio/gnativevolumemonitor.h | 4 ++++ gio/gzlibcompressor.h | 4 ++++ gio/gzlibdecompressor.h | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/gio/gcharsetconverter.h b/gio/gcharsetconverter.h index fcf4aa497..5198d4639 100644 --- a/gio/gcharsetconverter.h +++ b/gio/gcharsetconverter.h @@ -20,6 +20,10 @@ * Author: Alexander Larsson */ +#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __G_CHARSET_CONVERTER_H__ #define __G_CHARSET_CONVERTER_H__ diff --git a/gio/gnativevolumemonitor.h b/gio/gnativevolumemonitor.h index 9c859fef8..d6c5ccefb 100644 --- a/gio/gnativevolumemonitor.h +++ b/gio/gnativevolumemonitor.h @@ -1,3 +1,7 @@ +#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __G_NATIVE_VOLUME_MONITOR_H__ #define __G_NATIVE_VOLUME_MONITOR_H__ diff --git a/gio/gzlibcompressor.h b/gio/gzlibcompressor.h index 7f6d80f79..0e14a80f3 100644 --- a/gio/gzlibcompressor.h +++ b/gio/gzlibcompressor.h @@ -20,6 +20,10 @@ * Author: Alexander Larsson */ +#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __G_ZLIB_COMPRESSOR_H__ #define __G_ZLIB_COMPRESSOR_H__ diff --git a/gio/gzlibdecompressor.h b/gio/gzlibdecompressor.h index a2ec7b38b..fa334c2b6 100644 --- a/gio/gzlibdecompressor.h +++ b/gio/gzlibdecompressor.h @@ -20,6 +20,10 @@ * Author: Alexander Larsson */ +#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __G_ZLIB_DECOMPRESSOR_H__ #define __G_ZLIB_DECOMPRESSOR_H__