From ec2ed269c1a62c887d7406a3434f4d03bd67021f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 2 May 2014 16:38:25 +0200 Subject: [PATCH] polkitagent: No double warnings in polkit_agent_listener_register() The caller of polkit_agent_listener_register() or similar is responsible for handling returned errors (and/or print them). Remove undconditional warning. https://bugs.freedesktop.org/show_bug.cgi?id=78193 --- src/polkitagent/polkitagentlistener.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/polkitagent/polkitagentlistener.c b/src/polkitagent/polkitagentlistener.c index 8c333af..f39f9ad 100644 --- a/src/polkitagent/polkitagentlistener.c +++ b/src/polkitagent/polkitagentlistener.c @@ -157,7 +157,6 @@ server_register (Server *server, NULL, &local_error)) { - g_warning ("Unable to register authentication agent: %s", local_error->message); g_propagate_error (error, local_error); } else -- 1.9.0