From 9048ff4f63c8ac3174468ceb4787b658d948c6e0 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 28 Mar 2011 13:31:17 +0200 Subject: Remove unnecessary code in empathy_auth_factory_constructed() https://bugzilla.gnome.org/show_bug.cgi?id=645930 --- libempathy/empathy-auth-factory.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-auth-factory.c b/libempathy/empathy-auth-factory.c index 4c9942e95..36f7fda55 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 */ -- cgit v1.2.3