[empathy/gnome-2-34] add empathy_server_sasl_handler_get_channel()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-34] add empathy_server_sasl_handler_get_channel()
- Date: Fri, 18 Mar 2011 12:50:28 +0000 (UTC)
commit e8946503f98e8530fd35bb72a3235a286aac4a57
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Mar 18 11:42:24 2011 +0100
add empathy_server_sasl_handler_get_channel()
libempathy/empathy-server-sasl-handler.c | 12 ++++++++++++
libempathy/empathy-server-sasl-handler.h | 3 +++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-server-sasl-handler.c b/libempathy/empathy-server-sasl-handler.c
index a92b2b2..e28aec9 100644
--- a/libempathy/empathy-server-sasl-handler.c
+++ b/libempathy/empathy-server-sasl-handler.c
@@ -493,6 +493,18 @@ empathy_server_sasl_handler_get_account (EmpathyServerSASLHandler *handler)
return priv->account;
}
+TpChannel *
+empathy_server_sasl_handler_get_channel (EmpathyServerSASLHandler *handler)
+{
+ EmpathyServerSASLHandlerPriv *priv;
+
+ g_return_val_if_fail (EMPATHY_IS_SERVER_SASL_HANDLER (handler), NULL);
+
+ priv = handler->priv;
+
+ return priv->channel;
+}
+
gboolean
empathy_server_sasl_handler_has_password (EmpathyServerSASLHandler *handler)
{
diff --git a/libempathy/empathy-server-sasl-handler.h b/libempathy/empathy-server-sasl-handler.h
index d89a406..94be69b 100644
--- a/libempathy/empathy-server-sasl-handler.h
+++ b/libempathy/empathy-server-sasl-handler.h
@@ -74,6 +74,9 @@ void empathy_server_sasl_handler_cancel (EmpathyServerSASLHandler *handler);
TpAccount * empathy_server_sasl_handler_get_account (
EmpathyServerSASLHandler *handler);
+TpChannel * empathy_server_sasl_handler_get_channel (
+ EmpathyServerSASLHandler *handler);
+
gboolean empathy_server_sasl_handler_has_password (
EmpathyServerSASLHandler *handler);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]