[empathy] Remove unnecessary code in empathy_auth_factory_constructed()



commit 9048ff4f63c8ac3174468ceb4787b658d948c6e0
Author: Stef Walter <stefw collabora co uk>
Date:   Mon Mar 28 13:31:17 2011 +0200

    Remove unnecessary code in empathy_auth_factory_constructed()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645930

 libempathy/empathy-auth-factory.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c
index 4c9942e..36f7fda 100644
--- a/libempathy/empathy-auth-factory.c
+++ b/libempathy/empathy-auth-factory.c
@@ -474,18 +474,10 @@ empathy_auth_factory_constructed (GObject *obj)
 {
   EmpathyAuthFactory *self = EMPATHY_AUTH_FACTORY (obj);
   TpBaseClient *client = TP_BASE_CLIENT (self);
-  GError *error = NULL;
 
   /* chain up to TpBaseClient first */
   G_OBJECT_CLASS (empathy_auth_factory_parent_class)->constructed (obj);
 
-  if (error != NULL)
-    {
-      g_critical ("Failed to get TpDBusDaemon: %s", error->message);
-      g_error_free (error);
-      return;
-    }
-
   tp_base_client_set_handler_bypass_approval (client, FALSE);
 
   /* Handle ServerTLSConnection and ServerAuthentication channels */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]