aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2010-12-01 22:40:35 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-01-26 21:28:12 +0800
commit245481a015d4be974380d83b7ad82968484760cf (patch)
tree499b998218af12c8fe5ec0ce1af06bf6392c9881
parent57ca914aeb38828d9eaafd51ecbc790de8216497 (diff)
downloadgsoc2013-empathy-245481a015d4be974380d83b7ad82968484760cf.tar
gsoc2013-empathy-245481a015d4be974380d83b7ad82968484760cf.tar.gz
gsoc2013-empathy-245481a015d4be974380d83b7ad82968484760cf.tar.bz2
gsoc2013-empathy-245481a015d4be974380d83b7ad82968484760cf.tar.lz
gsoc2013-empathy-245481a015d4be974380d83b7ad82968484760cf.tar.xz
gsoc2013-empathy-245481a015d4be974380d83b7ad82968484760cf.tar.zst
gsoc2013-empathy-245481a015d4be974380d83b7ad82968484760cf.zip
auth-factory: add EmpathyAuthFactory::new-server-sasl-handler
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
-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 *