subprojects/gplugin.wrap

Fri, 04 Nov 2022 23:55:30 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 04 Nov 2022 23:55:30 -0500
changeset 41890
2c15f6e30f20
parent 41848
cc8bddbd1b82
child 41950
0cf9a6438a8f
permissions
-rw-r--r--

Add purple_account_manager_get_connected and port libpurple to it

Generally speaking, purple_connections_get_all is used to get a list of accounts
that are currently connected and then act upon those accounts.

Instead of having a connections API for that, we can just put it into the
account manager which can query the accounts it knows about and check if they
are connected or not making the account the source of truth for whether it is
connected or not.

This also has the benefit of treating the connection as just a data object that
belongs to the account which feels a lot more natural than the existing API.

Testing Done:
Ran and let a bonjour account go idle and verified via another instance of pidgin.

Reviewed at https://reviews.imfreedom.org/r/2031/

41738
5ff19c662e31 Revert the wrap-file change as it breaks our ability to use gi-docgen with subprojects
Gary Kramlich <grim@reaperworld.com>
parents: 41732
diff changeset
1 [wrap-hg]
5ff19c662e31 Revert the wrap-file change as it breaks our ability to use gi-docgen with subprojects
Gary Kramlich <grim@reaperworld.com>
parents: 41732
diff changeset
2 directory = gplugin
5ff19c662e31 Revert the wrap-file change as it breaks our ability to use gi-docgen with subprojects
Gary Kramlich <grim@reaperworld.com>
parents: 41732
diff changeset
3 url = https://keep.imfreedom.org/gplugin/gplugin
41848
cc8bddbd1b82 Update to gplugin 0.39.0
Gary Kramlich <grim@reaperworld.com>
parents: 41738
diff changeset
4 revision = v0.39.0

mercurial