aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2010-12-01 22:40:35 +0800
committerJonny Lamb <jonnylamb@gnome.org>2010-12-01 22:40:35 +0800
commitfcd80516f561eec897df4c750a1d15573bbdeb91 (patch)
treec58d9a3ecfaac4649dba3ae30d342dfd8e43f668 /libempathy
parent53ead42832d2af12c9487a6f8b370787442940f9 (diff)
downloadgsoc2013-empathy-fcd80516f561eec897df4c750a1d15573bbdeb91.tar
gsoc2013-empathy-fcd80516f561eec897df4c750a1d15573bbdeb91.tar.gz
gsoc2013-empathy-fcd80516f561eec897df4c750a1d15573bbdeb91.tar.bz2
gsoc2013-empathy-fcd80516f561eec897df4c750a1d15573bbdeb91.tar.lz
gsoc2013-empathy-fcd80516f561eec897df4c750a1d15573bbdeb91.tar.xz
gsoc2013-empathy-fcd80516f561eec897df4c750a1d15573bbdeb91.tar.zst
gsoc2013-empathy-fcd80516f561eec897df4c750a1d15573bbdeb91.zip
auth-factory: add EmpathyAuthFactory::new-server-sasl-handler
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-auth-factory.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c
index fa706d5fd..5b338516d 100644
--- a/libempathy/empathy-auth-factory.c
+++ b/libempathy/empathy-auth-factory.c
@@ -41,6 +41,7 @@ typedef struct {
enum {
NEW_SERVER_TLS_HANDLER,
+ NEW_SERVER_SASL_HANDLER,
LAST_SIGNAL,
};
@@ -270,6 +271,15 @@ empathy_auth_factory_class_init (EmpathyAuthFactoryClass *klass)
g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE,
1, EMPATHY_TYPE_SERVER_TLS_HANDLER);
+
+ signals[NEW_SERVER_SASL_HANDLER] =
+ g_signal_new ("new-server-sasl-handler",
+ G_TYPE_FROM_CLASS (klass),
+ G_SIGNAL_RUN_LAST, 0,
+ NULL, NULL,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE,
+ 1, EMPATHY_TYPE_SERVER_SASL_HANDLER);
}
EmpathyAuthFactory *