diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-06-06 16:20:21 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-06-06 16:20:21 -0400 |
commit | 2aca3b506a2405927a621bb37447dc96b2aa6174 (patch) | |
tree | c5ddb49567265bfebb23e0393dce5f48b0d78732 /gio/gdbusconnection.h | |
parent | 9371ca0cc27573174dfc0419e121f8ac718fe061 (diff) | |
download | glib-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.h | 4 |
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__ |