Add missign single include guards
authorMatthias Clasen <mclasen@redhat.com>
Sun, 21 Feb 2010 21:12:35 +0000 (16:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 21 Feb 2010 21:12:35 +0000 (16:12 -0500)
Reported in bug 609530. patch by Christian Dywan.

gio/gcharsetconverter.h
gio/gnativevolumemonitor.h
gio/gzlibcompressor.h
gio/gzlibdecompressor.h

index fcf4aa4..5198d46 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_CHARSET_CONVERTER_H__
 #define __G_CHARSET_CONVERTER_H__
 
index 9c859fe..d6c5cce 100644 (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__
 #define __G_NATIVE_VOLUME_MONITOR_H__
 
index 7f6d80f..0e14a80 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_ZLIB_COMPRESSOR_H__
 #define __G_ZLIB_COMPRESSOR_H__
 
index a2ec7b3..fa334c2 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_ZLIB_DECOMPRESSOR_H__
 #define __G_ZLIB_DECOMPRESSOR_H__