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/
REVIEWBOARD_URL = "https://reviews.imfreedom.org/"
REPOSITORY = "pidgin/pidgin"
REPOSITORY_TYPE = "mercurial"
BRANCH = "default"
LAND_DEST_BRANCH = "default"
LAND_PUSH = False