pidgin/pidgin

Add a PurpleRequestField:valid property and is_valid vfunc

15 months ago, Elliott Sales de Andrade
4de5a514b8ba
Add a PurpleRequestField:valid property and is_valid vfunc

* Add a `PurpleRequestField:valid` property and `is_valid` vfunc.
* Add a `GDestroyNotify` parameter for the validator data, and document the callback.
* Correct the property notification in `purple_request_field_bool_set_value`.

Testing Done:
Compiled and ran `ninja test`

Reviewed at https://reviews.imfreedom.org/r/2346/
[wrap-file]
directory = gi-docgen-2023.1
source_url = https://download.gnome.org/sources/gi-docgen/2023/gi-docgen-2023.1.tar.xz
source_filename = gi-docgen-2023.1.tar.xz
source_hash = a9a687c1b7c4a4139a214bd451e01ca86131a3161f68aa3e07325b06002bbfb6