diff options
author | Gary Kramlich <grim@reaperworld.com> | 2022-11-05 02:33:47 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2022-11-05 02:33:47 -0500 |
commit | be500ea7583a01351fc17a89140c8a9a65ea302c (patch) | |
tree | d268a1db073ac59dd463e83f4ebddd10499c0df1 /libpurple/accounts.c | |
parent | 550310a94fa3f35c9eb6a5621a0209f464b96c90 (diff) | |
download | pidgin-be500ea7583a01351fc17a89140c8a9a65ea302c.tar.gz |
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/
Diffstat (limited to 'libpurple/accounts.c')
-rw-r--r-- | libpurple/accounts.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libpurple/accounts.c b/libpurple/accounts.c index 6ee9c30b3f..4064bf1c1b 100644 --- a/libpurple/accounts.c +++ b/libpurple/accounts.c @@ -680,11 +680,6 @@ purple_accounts_init(void) void *handle = purple_accounts_get_handle(); void *conn_handle = purple_connections_get_handle(); - purple_signal_register(handle, "account-status-changing", - purple_marshal_VOID__POINTER_POINTER_POINTER, - G_TYPE_NONE, 3, PURPLE_TYPE_ACCOUNT, - PURPLE_TYPE_STATUS, PURPLE_TYPE_STATUS); - purple_signal_register(handle, "account-status-changed", purple_marshal_VOID__POINTER_POINTER_POINTER, G_TYPE_NONE, 3, PURPLE_TYPE_ACCOUNT, @@ -694,12 +689,6 @@ purple_accounts_init(void) purple_marshal_VOID__POINTER, G_TYPE_NONE, 1, PURPLE_TYPE_ACCOUNT); - purple_signal_register(handle, "account-error-changed", - purple_marshal_VOID__POINTER_POINTER_POINTER, - G_TYPE_NONE, 3, PURPLE_TYPE_ACCOUNT, - PURPLE_TYPE_CONNECTION_ERROR_INFO, - PURPLE_TYPE_CONNECTION_ERROR_INFO); - purple_signal_register(handle, "account-signed-on", purple_marshal_VOID__POINTER, G_TYPE_NONE, 1, PURPLE_TYPE_ACCOUNT); |