diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-08-08 10:05:52 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-08-08 10:05:52 +0100 |
commit | 8d97eac5a67d6afeabf934c150fb007540cec32e (patch) | |
tree | 85060cc5bdf6b2e8cbcad4173f1b06b97b3f55a5 | |
parent | 27fcba0eacca6f2dc118ff5c0d7e5ec5489be8bf (diff) | |
download | telepathy-logger-8d97eac5a67d6afeabf934c150fb007540cec32e.tar.gz |
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@collabora.co.uk>
-rw-r--r-- | 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); |