diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-05-30 11:34:17 +0200 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2012-06-05 12:13:17 +0200 |
commit | 05287db8a5d4557435356df0fcd6e1cf202e6503 (patch) | |
tree | d81eeb4a8f026089fa8ec583e53e47d3fa0f33ea /telepathy-glib/room-info.h | |
parent | d95d44bd327d96c5936deee1a3d970bcf27f29d0 (diff) | |
download | telepathy-glib-05287db8a5d4557435356df0fcd6e1cf202e6503.tar.gz |
Add single-include #error in all headers included from telepathy-glib(-dbus).h
https://bugs.freedesktop.org/show_bug.cgi?id=49384
Diffstat (limited to 'telepathy-glib/room-info.h')
-rw-r--r-- | telepathy-glib/room-info.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/room-info.h b/telepathy-glib/room-info.h index d114c3240..0b33bc1f2 100644 --- a/telepathy-glib/room-info.h +++ b/telepathy-glib/room-info.h @@ -18,6 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if defined (TP_DISABLE_SINGLE_INCLUDE) && !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION) +#error "Only <telepathy-glib/telepathy-glib.h> and <telepathy-glib/telepathy-glib-dbus.h> can be included directly." +#endif + #ifndef __TP_ROOM_INFO_H__ #define __TP_ROOM_INFO_H__ |