summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2014-05-02 16:38:25 +0200
committerRay Strode <rstrode@redhat.com>2018-04-03 14:16:20 -0400
commit105abaa563eed4d8b78869d5ad17937338d0f0e5 (patch)
tree3ef77a5cffcb12416a95a9e034e2731727841e91
parentef4134dce6462c1be983b24b1b2ea6f28800121b (diff)
downloadpolkit-105abaa563eed4d8b78869d5ad17937338d0f0e5.tar.gz
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
-rw-r--r--src/polkitagent/polkitagentlistener.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/polkitagent/polkitagentlistener.c b/src/polkitagent/polkitagentlistener.c
index 1431458..debd1bb 100644
--- a/src/polkitagent/polkitagentlistener.c
+++ b/src/polkitagent/polkitagentlistener.c
@@ -156,7 +156,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