summaryrefslogtreecommitdiff
path: root/libpurple/core.c
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2021-12-03 01:56:48 -0600
committerGary Kramlich <grim@reaperworld.com>2021-12-03 01:56:48 -0600
commit50feb6aada8f7848a7db4090e3af338348e982fc (patch)
treea7bcc2a71b8983d0d21b813d79c00f3eb8805cbe /libpurple/core.c
parent1589ac4e36c82a44f635f12c7bf9eae1d25a91d8 (diff)
downloadpidgin-50feb6aada8f7848a7db4090e3af338348e982fc.tar.gz
Create the PurpleAccountManager API
This replaces most of the purple_accounts_ API, but not quite everything. The functions that have been replaced have been marked as deprecated and libpurple has been updated to use the new API. Testing Done: * Connected an XMPP account * Verified chat and ims worked * Verified that the saved statuses window didn't crash * Ran the new unit tests. Reviewed at https://reviews.imfreedom.org/r/1137/
Diffstat (limited to 'libpurple/core.c')
-rw-r--r--libpurple/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpurple/core.c b/libpurple/core.c
index a5c322e1b9..7f717bbc43 100644
--- a/libpurple/core.c
+++ b/libpurple/core.c
@@ -161,6 +161,7 @@ purple_core_init(const char *ui)
purple_buddy_icons_init();
purple_connections_init();
+ purple_account_manager_startup();
purple_accounts_init();
purple_savedstatuses_init();
purple_notify_init();
@@ -228,6 +229,7 @@ purple_core_quit(void)
purple_savedstatuses_uninit();
purple_statuses_uninit();
purple_accounts_uninit();
+ purple_account_manager_shutdown();
purple_xfers_uninit();
purple_proxy_uninit();
_purple_image_store_uninit();