purple: add wrappers for authorization callbacks
commit9f1e001653583fd506ddb708dea57cbc2ca1f58e
authorStefan Becker <chemobejk@gmail.com>
Mon, 1 Jul 2019 18:21:43 +0000 (1 21:21 +0300)
committerStefan Becker <chemobejk@gmail.com>
Mon, 1 Jul 2019 18:21:43 +0000 (1 21:21 +0300)
tree3a1fdcf233185d3079c7e4c3fec87eb094f2bd06
parent8fdafa4a295d98e686ff441cd11a25d4847fc9f8
purple: add wrappers for authorization callbacks

The callback type for the purple_account_request_authorization() API has
changed in 3.x.x. It is no longer compatible with the callback type
defined in our core<->backend API.

Hide the differences by introducing a new data structure and wrappers
that ignore the additional parameter introduced in 3.x.x API.
src/purple/purple-buddy.c