From: Stef Walter Date: Mon, 28 Mar 2011 11:31:17 +0000 (+0200) Subject: Remove unnecessary code in empathy_auth_factory_constructed() X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=9048ff4f63c8ac3174468ceb4787b658d948c6e0 Remove unnecessary code in empathy_auth_factory_constructed() https://bugzilla.gnome.org/show_bug.cgi?id=645930 --- diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c index 4c9942e9..36f7fda5 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 */