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/
#include <winver.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION @PURPLE_MAJOR_VERSION@,@PURPLE_MINOR_VERSION@,@PURPLE_MICRO_VERSION@,0
PRODUCTVERSION @PURPLE_MAJOR_VERSION@,@PURPLE_MINOR_VERSION@,@PURPLE_MICRO_VERSION@,0
FILEFLAGSMASK 0
FILEFLAGS 0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "The Pidgin developer community"
VALUE "FileDescription", "Finch instant messenger"
VALUE "FileVersion", "@PURPLE_VERSION@"
VALUE "InternalName", "finch"
VALUE "LegalCopyright", "Copyright (C) 1998-2014 The Pidgin developer community (See the COPYRIGHT file in the source distribution)."
VALUE "OriginalFilename", "finch.exe"
VALUE "ProductName", "Finch"
VALUE "ProductVersion", "@PURPLE_VERSION@"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END