From be500ea7583a01351fc17a89140c8a9a65ea302c Mon Sep 17 00:00:00 2001 From: Gary Kramlich Date: Sat, 5 Nov 2022 02:33:47 -0500 Subject: Add PurpleAccount::error property and remove "account-error-changed" and "account-status-changing" signals. Also sorted the account signal changes in ChangeLog.API. The account-error-changed signal is easily replaced by the notify signal for the new property, and account-status_changing wasn't used by anything. Testing Done: Used the account actions of the demo protocol plugin to disconnect the account without issue. Reviewed at https://reviews.imfreedom.org/r/2036/ --- doc/reference/libpurple/signals_account.md | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'doc') diff --git a/doc/reference/libpurple/signals_account.md b/doc/reference/libpurple/signals_account.md index e6af9d0257..1ef3265fc2 100644 --- a/doc/reference/libpurple/signals_account.md +++ b/doc/reference/libpurple/signals_account.md @@ -7,7 +7,6 @@ Slug: account-signals * [account-status-changed](#account-status-changed) * [account-actions-changed](#account-actions-changed) -* [account-error-changed](#account-error-changed) * [account-signed-on](#account-signed-on) * [account-signed-off](#account-signed-off) @@ -94,33 +93,6 @@ Emitted when the account actions are changed after initial connection. ---- -#### account-error-changed - -```c -void user_function(PurpleAccount *account, - const PurpleConnectionErrorInfo *old_error, - const PurpleConnectionErrorInfo *current_error, - gpointer user_data); -``` - -Emitted when `account`'s error changes. You should not call purple_account_clear_current_error() while this signal is being emitted. - -**Parameters:** - -**account** -: The account whose error has changed. - -**old_error** -: The account's previous error, or `NULL` if it had no error. After this signal is emitted, `old_error` is not guaranteed to be a valid pointer. - -**new_error** -: The account's new error, or `NULL` if it has no error. If not `NULL`, `new_error` will remain a valid until pointer just after the next time this signal is emitted for this `account`. See `purple_account_get_current_error()`. - -**user_data** -: User data set when the signal handler was connected. - ----- - #### account-signed-on ```c -- cgit v1.2.1