pidgin/pidgin

Move minidialog stuff from utils to its source file

2021-07-22, Elliott Sales de Andrade
d92defc9ba95
Move minidialog stuff from utils to its source file

* Remove minidialog list from utils.
It's supposed to be used to delete them when the connection is dropped, but this list is never added to. And the dialogs are automatically closed when the account disconnects in some other way that I could not find.
Consequently, drop the unused `gc` from `pidgin_make_mini_dialog*`.
* Replace `PidginUtilMiniDialogCallback` by `PidginMiniDialogCallback`.
It is just a wrapper around the latter, with different argument order.
* Move minidialog wrappers from utils to `minidialog.c`. And fix naming/arguments to match the existing functions.

Testing Done:
Compiled, connected an account that had buddy requests, but didn't act on them.

Reviewed at https://reviews.imfreedom.org/r/788/
#include <winver.h>
#include "resource.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_DLL
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "The Pidgin developer community"
VALUE "FileDescription", "Pidgin UI library"
VALUE "FileVersion", "@PURPLE_VERSION@"
VALUE "InternalName", "libpidgin"
VALUE "LegalCopyright", "Copyright (C) 1998-2014 The Pidgin developer community (See the COPYRIGHT file in the source distribution)."
VALUE "OriginalFilename", "libpidgin-@PURPLE_API_VERSION@.dll"
VALUE "ProductName", "Pidgin"
VALUE "ProductVersion", "@PURPLE_VERSION@"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
PIDGIN_TRAY_AVAILABLE_4BIT ICON "../pixmaps/tray/16/available_4bit.ico"
PIDGIN_TRAY_AWAY_4BIT ICON "../pixmaps/tray/16/away_4bit.ico"
PIDGIN_TRAY_BUSY_4BIT ICON "../pixmaps/tray/16/busy_4bit.ico"
PIDGIN_TRAY_XA_4BIT ICON "../pixmaps/tray/16/extended-away_4bit.ico"
PIDGIN_TRAY_OFFLINE_4BIT ICON "../pixmaps/tray/16/offline_4bit.ico"
PIDGIN_TRAY_CONNECTING_4BIT ICON "../pixmaps/tray/16/connecting_4bit.ico"
PIDGIN_TRAY_PENDING_4BIT ICON "../pixmaps/tray/16/message_4bit.ico"
PIDGIN_TRAY_INVISIBLE_4BIT ICON "../pixmaps/tray/16/invisible_4bit.ico"