summaryrefslogtreecommitdiff
path: root/telepathy-glib/simple-approver.h
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-30 11:34:17 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-06-05 12:13:17 +0200
commit05287db8a5d4557435356df0fcd6e1cf202e6503 (patch)
treed81eeb4a8f026089fa8ec583e53e47d3fa0f33ea /telepathy-glib/simple-approver.h
parentd95d44bd327d96c5936deee1a3d970bcf27f29d0 (diff)
downloadtelepathy-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/simple-approver.h')
-rw-r--r--telepathy-glib/simple-approver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/simple-approver.h b/telepathy-glib/simple-approver.h
index 0925b7e06..74e01aed0 100644
--- a/telepathy-glib/simple-approver.h
+++ b/telepathy-glib/simple-approver.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_SIMPLE_APPROVER_H__
#define __TP_SIMPLE_APPROVER_H__