aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-settings.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-22 01:01:13 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-22 19:14:15 +0800
commit047a96316d388258fcff299ac4bea1bc3881ecae (patch)
tree1211dcb493eaa2f04ab5ff85a217b935dfb88650 /libempathy/empathy-account-settings.c
parent2cf8e876c22f6f7af9aa1701061d2624cbc0b5d3 (diff)
downloadgsoc2013-empathy-047a96316d388258fcff299ac4bea1bc3881ecae.tar
gsoc2013-empathy-047a96316d388258fcff299ac4bea1bc3881ecae.tar.gz
gsoc2013-empathy-047a96316d388258fcff299ac4bea1bc3881ecae.tar.bz2
gsoc2013-empathy-047a96316d388258fcff299ac4bea1bc3881ecae.tar.lz
gsoc2013-empathy-047a96316d388258fcff299ac4bea1bc3881ecae.tar.xz
gsoc2013-empathy-047a96316d388258fcff299ac4bea1bc3881ecae.tar.zst
gsoc2013-empathy-047a96316d388258fcff299ac4bea1bc3881ecae.zip
add empathy_account_settings_get_tp_protocol
Diffstat (limited to 'libempathy/empathy-account-settings.c')
-rw-r--r--libempathy/empathy-account-settings.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index f33e43799..6b8b0177c 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -1283,3 +1283,11 @@ empathy_account_settings_is_valid (EmpathyAccountSettings *settings)
return !missed;
}
+
+const TpConnectionManagerProtocol *
+empathy_account_settings_get_tp_protocol (EmpathyAccountSettings *self)
+{
+ EmpathyAccountSettingsPriv *priv = GET_PRIV (self);
+
+ return tp_connection_manager_get_protocol (priv->manager, priv->protocol);
+}