telepathy-logger: stop using tp_account_get_protocol()
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Wed Sep 25 07:38:46 PDT 2013
Module: telepathy-logger
Branch: master
Commit: 0f3c1d3f1df18d6d6d1533cc1d4656ff64607fb0
URL: http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=0f3c1d3f1df18d6d6d1533cc1d4656ff64607fb0
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Mon Sep 23 16:23:43 2013 +0200
stop using tp_account_get_protocol()
https://bugs.freedesktop.org/show_bug.cgi?id=69797
---
telepathy-logger/log-store-pidgin.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/telepathy-logger/log-store-pidgin.c b/telepathy-logger/log-store-pidgin.c
index 284783b..a76c066 100644
--- a/telepathy-logger/log-store-pidgin.c
+++ b/telepathy-logger/log-store-pidgin.c
@@ -250,7 +250,7 @@ log_store_pidgin_get_dir (TplLogStore *self,
const GHashTable *params;
params = tp_account_get_parameters (account);
- protocol = tp_account_get_protocol (account);
+ protocol = tp_account_get_protocol_name (account);
if (tp_strdiff (protocol, "irc") == 0)
{
@@ -515,7 +515,7 @@ log_store_pidgin_dup_account (const gchar *filename)
TpAccount *acc = (TpAccount *) l->data;
const GHashTable *params;
- if (tp_strdiff (tp_account_get_protocol (acc), protocol))
+ if (tp_strdiff (tp_account_get_protocol_name (acc), protocol))
continue;
params = tp_account_get_parameters (acc);
More information about the telepathy-commits
mailing list