summaryrefslogtreecommitdiff
path: root/libpurple/accounts.c
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2022-12-05 05:31:22 -0600
committerGary Kramlich <grim@reaperworld.com>2022-12-05 05:31:22 -0600
commit985cce40edb57ab93e6847f6fcc3f571578956d3 (patch)
tree8619a29009fcfb4a3d00f6bb3cd1e02009998e89 /libpurple/accounts.c
parent0e32ac1be886a6b95867c0f0b44b1613b73e959d (diff)
downloadpidgin-985cce40edb57ab93e6847f6fcc3f571578956d3.tar.gz
Remove the privacy api
This API has been needing a rewrite for as long as I've been working on Gaim / Pidgin and nothing has come of it. Therefore, I'm am removing it for a much more simplified approach in the future. Testing Done: Sent some messages with the demo protocol plugin. Reviewed at https://reviews.imfreedom.org/r/2065/
Diffstat (limited to 'libpurple/accounts.c')
-rw-r--r--libpurple/accounts.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/libpurple/accounts.c b/libpurple/accounts.c
index acf5069336..cc451dbf69 100644
--- a/libpurple/accounts.c
+++ b/libpurple/accounts.c
@@ -31,8 +31,6 @@
#include "purpleenums.h"
#include "purpleprivate.h"
-static PurpleAccountUiOps *account_ui_ops = NULL;
-
static guint save_timer = 0;
static gboolean accounts_loaded = FALSE;
@@ -590,45 +588,6 @@ purple_accounts_restore_current_statuses(void) {
NULL);
}
-static PurpleAccountUiOps *
-purple_account_ui_ops_copy(PurpleAccountUiOps *ops)
-{
- PurpleAccountUiOps *ops_new;
-
- g_return_val_if_fail(ops != NULL, NULL);
-
- ops_new = g_new(PurpleAccountUiOps, 1);
- *ops_new = *ops;
-
- return ops_new;
-}
-
-GType
-purple_account_ui_ops_get_type(void)
-{
- static GType type = 0;
-
- if (type == 0) {
- type = g_boxed_type_register_static("PurpleAccountUiOps",
- (GBoxedCopyFunc)purple_account_ui_ops_copy,
- (GBoxedFreeFunc)g_free);
- }
-
- return type;
-}
-
-void
-purple_accounts_set_ui_ops(PurpleAccountUiOps *ops)
-{
- account_ui_ops = ops;
-}
-
-PurpleAccountUiOps *
-purple_accounts_get_ui_ops(void)
-{
- return account_ui_ops;
-}
-
void *
purple_accounts_get_handle(void)
{