Commit 4fea8580 authored by Stef Walter's avatar Stef Walter Committed by Ray Strode

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
parent 62ec5e45
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment