summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel-group.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-04-01 14:19:16 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-04-01 14:19:16 +0100
commit6dad56ec5e502ce68cbf71c6849896881a26f3b5 (patch)
treef5d293618d6d84b06522c24918b9a9f52e1ca550 /telepathy-glib/channel-group.c
parenta042c778d08a84c794c7d38c29e5f7919a1bad80 (diff)
downloadtelepathy-glib-6dad56ec5e502ce68cbf71c6849896881a26f3b5.tar.gz
Use tp_str_empty whenever it's equivalent to the current code
Diffstat (limited to 'telepathy-glib/channel-group.c')
-rw-r--r--telepathy-glib/channel-group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-glib/channel-group.c b/telepathy-glib/channel-group.c
index 553194c93..d959fbbde 100644
--- a/telepathy-glib/channel-group.c
+++ b/telepathy-glib/channel-group.c
@@ -471,7 +471,7 @@ _tp_channel_group_set_one_lp (TpChannel *self,
tp_intset_remove (self->priv->group_remote_pending, handle);
if (actor == 0 && reason == TP_CHANNEL_GROUP_CHANGE_REASON_NONE &&
- (message == NULL || message[0] == '\0'))
+ tp_str_empty (message))
{
/* we just don't bother storing informationless local-pending */
if (self->priv->group_local_pending_info != NULL)
@@ -509,7 +509,7 @@ _tp_channel_group_set_one_lp (TpChannel *self,
info->reason = reason;
g_free (info->message);
- if (message == NULL || message[0] == '\0')
+ if (tp_str_empty (message))
info->message = NULL;
else
info->message = g_strdup (message);