Created attachment 32296 [details] [review] clean up polkitbackend headers Hi, I am currently working on PolicyKit bindings for vala, and have come across a few mistakes in the polkit-backend-1 headers. For example, polkitbackendactionlookup.h references PolkitDetails without including polkit.h. This causes bindings generation to fail as the generator doesn't know about the objects that haven't been #included. Attached is a patch to fix all issues of this kind. In addition it introduces consistency in #include style (using <polkitbackend/foo.h> instead of "foo.h") and makes polkitbackend.h check for _POLKIT_BACKEND_COMPILATION as opposed to POLKIT_BACKEND_COMPILATION, which is what the other headers do as well. The patch was made against release 0.95, and while there have been some changes in git since then I don't think they affect the patch.
OK, I did something like this http://cgit.freedesktop.org/PolicyKit/commit/?id=7b0c5269dadec47e55beca398ce6d571b32438e6 Note that http://cgit.freedesktop.org/PolicyKit/commit/?id=7d5eff96c830a9fbd23bd5ef2067d02769fee21b may be relevant to bindings since it removes API/ABI.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.