pidgin/pidgin

Modernize minidialog

2021-07-03, Elliott Sales de Andrade
816cb63cfadc
Modernize minidialog

* Rename `LAST_PROPERTY` to `PROP_LAST`.
* Use GObject macros for declaration.
* Use GObject macros for definition.
* Move all internal property handling together.
* Move class init/finalize together with the rest of GObject implementation.
* Move callbacks together.
* Move helpers together (or inline).
* Add `g_return_if_fail(PIDGIN_IS_MINI_DIALOG(...))` on public API.

Testing Done:
Compile and connect an account with some buddy requests.

Reviewed at https://reviews.imfreedom.org/r/787/
i18n = import('i18n')
i18n.gettext('pidgin',
args : '--from-code=utf-8',
install : get_option('nls'),
)