telepathy-glib: Don't include tp-cli header in tls-certificate.h

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Wed May 9 03:15:59 PDT 2012


Module: telepathy-glib
Branch: master
Commit: 7f880d8ce0f605434929992ea429523ef586627b
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=7f880d8ce0f605434929992ea429523ef586627b

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Thu May  3 09:51:04 2012 +0200

Don't include tp-cli header in tls-certificate.h

Users should just rely on the high level API.

---

 telepathy-glib/tls-certificate.c |    2 ++
 telepathy-glib/tls-certificate.h |    2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/telepathy-glib/tls-certificate.c b/telepathy-glib/tls-certificate.c
index 5ff3d68..b59f0f1 100644
--- a/telepathy-glib/tls-certificate.c
+++ b/telepathy-glib/tls-certificate.c
@@ -25,6 +25,8 @@
 
 #include <glib/gstdio.h>
 
+#include <telepathy-glib/_gen/tp-cli-tls-cert.h>
+
 #include <telepathy-glib/dbus.h>
 #include <telepathy-glib/dbus-internal.h>
 #include <telepathy-glib/enums.h>
diff --git a/telepathy-glib/tls-certificate.h b/telepathy-glib/tls-certificate.h
index 2ead479..a485796 100644
--- a/telepathy-glib/tls-certificate.h
+++ b/telepathy-glib/tls-certificate.h
@@ -110,6 +110,4 @@ TpTLSCertificateState tp_tls_certificate_get_state (TpTLSCertificate *self);
 
 G_END_DECLS
 
-#include <telepathy-glib/_gen/tp-cli-tls-cert.h>
-
 #endif /* multiple-inclusion guard */



More information about the telepathy-commits mailing list