telepathy-idle: s/NUM_TP_*/TP_NUM_*
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Mon Sep 23 04:53:09 PDT 2013
Module: telepathy-idle
Branch: master
Commit: 63441d993eef9eece120d9e8f0b2854cb3087d44
URL: http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=63441d993eef9eece120d9e8f0b2854cb3087d44
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Thu Sep 19 15:45:40 2013 +0200
s/NUM_TP_*/TP_NUM_*
---
src/idle-connection.c | 2 +-
src/idle-text.c | 2 +-
src/tls-certificate.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/idle-connection.c b/src/idle-connection.c
index 9b495a8..9ba1d23 100644
--- a/src/idle-connection.c
+++ b/src/idle-connection.c
@@ -566,7 +566,7 @@ static GPtrArray *_iface_create_channel_managers(TpBaseConnection *base) {
}
static void _iface_create_handle_repos(TpBaseConnection *self, TpHandleRepoIface **repos) {
- for (int i = 0; i < NUM_TP_HANDLE_TYPES; i++)
+ for (int i = 0; i < TP_NUM_HANDLE_TYPES; i++)
repos[i] = NULL;
idle_handle_repos_init(repos);
diff --git a/src/idle-text.c b/src/idle-text.c
index dbda8b0..cce38c8 100644
--- a/src/idle-text.c
+++ b/src/idle-text.c
@@ -179,7 +179,7 @@ void idle_text_send(GObject *obj, TpMessage *message, TpMessageSendingFlags flag
if (!result)
INVALID_ARGUMENT ("message-type must be a 32-bit unsigned integer");
- if (type >= NUM_TP_CHANNEL_TEXT_MESSAGE_TYPES)
+ if (type >= TP_NUM_CHANNEL_TEXT_MESSAGE_TYPES)
INVALID_ARGUMENT ("invalid message type: %u", type);
n_parts = tp_message_count_parts (message);
diff --git a/src/tls-certificate.c b/src/tls-certificate.c
index 467d13e..3d71be1 100644
--- a/src/tls-certificate.c
+++ b/src/tls-certificate.c
@@ -216,7 +216,7 @@ idle_tls_certificate_class_init (IdleTLSCertificateClass *klass)
pspec = g_param_spec_uint ("state",
"State of this certificate",
"The state of this TLS certificate.",
- 0, NUM_TP_TLS_CERTIFICATE_STATES - 1,
+ 0, TP_NUM_TLS_CERTIFICATE_STATES - 1,
TP_TLS_CERTIFICATE_STATE_PENDING,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (oclass, PROP_STATE, pspec);
More information about the telepathy-commits
mailing list