summaryrefslogtreecommitdiff
path: root/telepathy-logger/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-logger/channel.c')
-rw-r--r--telepathy-logger/channel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/telepathy-logger/channel.c b/telepathy-logger/channel.c
index 0eab694..d55906c 100644
--- a/telepathy-logger/channel.c
+++ b/telepathy-logger/channel.c
@@ -174,8 +174,7 @@ tpl_channel_set_account (TplChannel *self,
g_return_if_fail (TP_IS_ACCOUNT (data));
g_return_if_fail (priv->account == NULL);
- priv->account = data;
- g_object_ref (data);
+ priv->account = g_object_ref (data);
}