summaryrefslogtreecommitdiff
path: root/telepathy-glib/message-mixin.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-02 16:31:57 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-12 11:39:04 +0100
commit9a7b5f6721c5554e4bf9e111e132746b63b233c0 (patch)
tree999084d76c60b9a13054a14e643aaaa1d9247543 /telepathy-glib/message-mixin.c
parent6f867844aaefb0e5239ff2328a4b7329b450f4dd (diff)
downloadtelepathy-glib-9a7b5f6721c5554e4bf9e111e132746b63b233c0.tar.gz
Use TP_NUM_… instead of NUM_TP_…
Based on a patch from Jonny Lamb, updated for current master. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46470
Diffstat (limited to 'telepathy-glib/message-mixin.c')
-rw-r--r--telepathy-glib/message-mixin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/message-mixin.c b/telepathy-glib/message-mixin.c
index f956d6b84..c4a46e90c 100644
--- a/telepathy-glib/message-mixin.c
+++ b/telepathy-glib/message-mixin.c
@@ -332,7 +332,7 @@ tp_message_mixin_init (GObject *obj,
mixin->priv->pending = g_queue_new ();
mixin->priv->recv_id = 0;
mixin->priv->msg_types = g_array_sized_new (FALSE, FALSE, sizeof (guint),
- NUM_TP_CHANNEL_TEXT_MESSAGE_TYPES);
+ TP_NUM_CHANNEL_TEXT_MESSAGE_TYPES);
mixin->priv->connection = g_object_ref (connection);
mixin->priv->supported_content_types = g_new0 (gchar *, 1);