]> git.0d.be Git - empathy.git/commitdiff
Remove unnecessary code in empathy_auth_factory_constructed()
authorStef Walter <stefw@collabora.co.uk>
Mon, 28 Mar 2011 11:31:17 +0000 (13:31 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 4 Apr 2011 13:38:34 +0000 (15:38 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=645930

libempathy/empathy-auth-factory.c

index 4c9942e95610f989979535601b987bb8a1125b23..36f7fda557d2ec120512b048c8ec95537b9f8183 100644 (file)
@@ -474,18 +474,10 @@ empathy_auth_factory_constructed (GObject *obj)
 {
   EmpathyAuthFactory *self = EMPATHY_AUTH_FACTORY (obj);
   TpBaseClient *client = TP_BASE_CLIENT (self);
 {
   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);
 
 
   /* 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 */
   tp_base_client_set_handler_bypass_approval (client, FALSE);
 
   /* Handle ServerTLSConnection and ServerAuthentication channels */