* 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/
/* Purple is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
#include<glib/gi18n-lib.h>
#include"internal.h"
#include"purpleprivate.h"
#include"core.h"
#include"debug.h"
#include"notify.h"
#include"protocol.h"
#include"prefs.h"
#include"purpleconversation.h"
#include"purpleprotocolclient.h"
#include"util.h"
#include<json-glib/json-glib.h>
staticchar*custom_user_dir=NULL;
staticchar*user_dir=NULL;
staticgchar*cache_dir=NULL;
staticgchar*config_dir=NULL;
staticgchar*data_dir=NULL;
void
purple_util_init(void)
{
}
void
purple_util_uninit(void)
{
/* Free these so we don't have leaks at shutdown. */