]> git.0d.be Git - empathy.git/commitdiff
auth-factory: add EmpathyAuthFactory::new-server-sasl-handler
authorJonny Lamb <jonnylamb@gnome.org>
Wed, 1 Dec 2010 14:40:35 +0000 (14:40 +0000)
committerJonny Lamb <jonnylamb@gnome.org>
Wed, 1 Dec 2010 14:40:35 +0000 (14:40 +0000)
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
libempathy/empathy-auth-factory.c

index fa706d5fde6a7d17dc010864e937c586b6af3392..5b338516dfd878f728157f7a34423c812fb5a7d4 100644 (file)
@@ -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 *