Code review comment for lp://staging/~mterry/indicator-sound/greeter-volume

Revision history for this message
Michael Terry (mterry) wrote :

Yeah, but getting (A) the main Manager proxy and (B) asking it for the object path are both sync operations in the library API.

And once you have the object path, Vala doesn't let you perform async get/set with DBus object properties. (We could define a DBus interface for the org.freedesktop.DBus.Properties interface and use Get()/Set() directly, but that's not buying us much.)

So all in all, I agree it would be prettier code, but we'd be giving up too much.

« Back to merge proposal