[next] telepathy-glib: Consider proxy-subclass.h as a meta header

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed Jun 6 02:40:27 PDT 2012


Module: telepathy-glib
Branch: next
Commit: d95d44bd327d96c5936deee1a3d970bcf27f29d0
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=d95d44bd327d96c5936deee1a3d970bcf27f29d0

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Wed May 30 13:37:53 2012 +0200

Consider proxy-subclass.h as a meta header

That header can be included directly, so proxy.h would #error.

https://bugs.freedesktop.org/show_bug.cgi?id=49384

---

 telepathy-glib/proxy-subclass.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/proxy-subclass.h b/telepathy-glib/proxy-subclass.h
index 7399954..0602738 100644
--- a/telepathy-glib/proxy-subclass.h
+++ b/telepathy-glib/proxy-subclass.h
@@ -23,6 +23,8 @@
 #ifndef __TP_PROXY_SUBCLASS_H__
 #define __TP_PROXY_SUBCLASS_H__
 
+#define _TP_IN_META_HEADER
+
 #include <telepathy-glib/proxy.h>
 
 G_BEGIN_DECLS
@@ -78,4 +80,6 @@ void tp_proxy_init_known_interfaces (void);
 
 G_END_DECLS
 
+#undef _TP_IN_META_HEADER
+
 #endif /* #ifndef __TP_PROXY_SUBCLASS_H__*/



More information about the telepathy-commits mailing list