summaryrefslogtreecommitdiff
path: root/gio/gdbusnameowning.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-06-06 16:20:21 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-06-06 16:20:21 -0400
commit2aca3b506a2405927a621bb37447dc96b2aa6174 (patch)
treec5ddb49567265bfebb23e0393dce5f48b0d78732 /gio/gdbusnameowning.h
parent9371ca0cc27573174dfc0419e121f8ac718fe061 (diff)
downloadglib-2aca3b506a2405927a621bb37447dc96b2aa6174.tar.gz
Add single-include guards to new headers
As pointed out by Christian Persch in bug 620173, all the new gdbus and gsettings headers were missing these.
Diffstat (limited to 'gio/gdbusnameowning.h')
-rw-r--r--gio/gdbusnameowning.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gdbusnameowning.h b/gio/gdbusnameowning.h
index a1adc3f53..85921bb78 100644
--- a/gio/gdbusnameowning.h
+++ b/gio/gdbusnameowning.h
@@ -20,6 +20,10 @@
* Author: David Zeuthen <davidz@redhat.com>
*/
+#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
+#error "Only <gio/gio.h> can be included directly."
+#endif
+
#ifndef __G_DBUS_NAME_OWNING_H__
#define __G_DBUS_NAME_OWNING_H__