summaryrefslogtreecommitdiff
path: root/gio/gdbusconnection.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/gdbusconnection.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/gdbusconnection.h')
-rw-r--r--gio/gdbusconnection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gdbusconnection.h b/gio/gdbusconnection.h
index 1055a58b1..1a9597c13 100644
--- a/gio/gdbusconnection.h
+++ b/gio/gdbusconnection.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_CONNECTION_H__
#define __G_DBUS_CONNECTION_H__