[next] telepathy-glib: TpTLSCertificate: use N_PROPS, not the misleading LAST_PROPERTY

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed May 9 13:10:47 PDT 2012


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

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Dec 14 15:40:48 2010 +0000

TpTLSCertificate: use N_PROPS, not the misleading LAST_PROPERTY

This is one beyond the last property.

---

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

diff --git a/telepathy-glib/tls-certificate.c b/telepathy-glib/tls-certificate.c
index c8792c4..bf2ad2d 100644
--- a/telepathy-glib/tls-certificate.c
+++ b/telepathy-glib/tls-certificate.c
@@ -41,7 +41,7 @@ enum {
   PROP_CERT_TYPE = 1,
   PROP_CERT_DATA,
   PROP_STATE,
-  LAST_PROPERTY,
+  N_PROPS
 };
 
 struct _TpTLSCertificatePrivate {



More information about the telepathy-commits mailing list