summaryrefslogtreecommitdiff
path: root/libpurple/accounts.c
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2023-01-06 02:12:12 -0600
committerGary Kramlich <grim@reaperworld.com>2023-01-06 02:12:12 -0600
commit96d40245d68d7d2bc59ef09edc17f56f05035b40 (patch)
treec10ff26f9ffec810eac3fd59c36e6f555072e319 /libpurple/accounts.c
parente544b5412649a0823fbb933406872984141e7106 (diff)
downloadpidgin-96d40245d68d7d2bc59ef09edc17f56f05035b40.tar.gz
Replace the account-actions-changed signal with an actions-changed signal on PurpleProtocolActions
We also propagate the PurpleProtocolActions::actions-changed signal from the PurpleProtocolManager::account-actions-changed signal if the protocol implements the PurpleProtocolActions interface. Testing Done: Build the docs and ran the unit tests. I also put a temporary action in the demo protocol plugin and called `purple_protocol_actions_changed` after the demo protocol connected. I will have another pull request that makes this a permenent action, but I want to convert the demo protocol plugin to subclass PurpleConnection before doing so as that will be accounting of everything *much* easier. Reviewed at https://reviews.imfreedom.org/r/2168/
Diffstat (limited to 'libpurple/accounts.c')
-rw-r--r--libpurple/accounts.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libpurple/accounts.c b/libpurple/accounts.c
index 331dd877f2..dbd61e05e2 100644
--- a/libpurple/accounts.c
+++ b/libpurple/accounts.c
@@ -649,10 +649,6 @@ purple_accounts_init(void)
G_TYPE_NONE, 3, PURPLE_TYPE_ACCOUNT,
PURPLE_TYPE_STATUS, PURPLE_TYPE_STATUS);
- purple_signal_register(handle, "account-actions-changed",
- purple_marshal_VOID__POINTER, G_TYPE_NONE, 1,
- PURPLE_TYPE_ACCOUNT);
-
purple_signal_register(handle, "account-signed-on",
purple_marshal_VOID__POINTER, G_TYPE_NONE, 1,
PURPLE_TYPE_ACCOUNT);