[next] telepathy-logger: log-store-pidgin: use renamed TpAccount function for getting protocol name
Jonny Lamb
jonny at kemper.freedesktop.org
Wed Aug 8 03:41:16 PDT 2012
Module: telepathy-logger
Branch: next
Commit: 8d97eac5a67d6afeabf934c150fb007540cec32e
URL: http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=8d97eac5a67d6afeabf934c150fb007540cec32e
Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date: Wed Aug 8 10:05:52 2012 +0100
log-store-pidgin: use renamed TpAccount function for getting protocol name
tp_account_get_protocol() should be the function to return the
TpProtocol object, not the string name.
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
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 488f48b..c68faf2 100644
--- a/telepathy-logger/log-store-pidgin.c
+++ b/telepathy-logger/log-store-pidgin.c
@@ -307,7 +307,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)
{
@@ -572,7 +572,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