chiark / gitweb /
bus-util: simplify bus_verify_polkit_async() a bit
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2014 15:44:17 +0000 (17:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Aug 2014 15:49:53 +0000 (17:49 +0200)
First, let's drop the "bus" argument, we can determine it from the
message anyway.

Secondly, determine the right callback/userdata pair automatically from
what is currently is being dispatched. This should simplify things a lot
for us, since it makes it unnecessary to pass pointers through the
original handlers through all functions when we process messages, which
might require authentication.


No differences found