-
-
The initial
g_return_if_fail
checks in the oldprotocol_class
methods might be causing issues. I had to remove thePURPLE_IS_ACCOUNT
check fromlist_icon
because the Add/Edit Account dialog was calling it with account set toNULL
. However, trying to test all these methods is very tedious but I'll look more into it shortly.
Modernize PurpleProtocol
Review Request #552 — Created March 3, 2021 and submitted
- Migrate PurpleProtocol to the
G_DECLARE_DERIVABLE_TYPE
andG_DEFINE_TYPE
macros. - Rename
purple_protocol_class_*
topurple_protocol_*
. - Move the class properties to instance properties and add accessors as necessary.
Ran locally and connected with bonjour, facebook, irc, and xmpp. Verified that the other prpls are loading and visible in the account manager.
Description | From | Last Updated |
---|---|---|
The initial g_return_if_fail checks in the old protocol_class methods might be causing issues. I had to remove the PURPLE_IS_ACCOUNT check … |
grim | |
Frees |
QuLogic | |
Should use this in the boxed type registration for consistency. |
QuLogic | |
These docs need to move into PurpleProtocolClass. |
QuLogic | |
Should this be purple_protocol_get_status_types? |
QuLogic | |
And purple_protocol_get_list_icon? |
QuLogic | |
Doesn't seem to be read from anything? |
QuLogic | |
Seems this need finishing. |
QuLogic | |
Tabs |
QuLogic | |
Tabs |
QuLogic | |
Tabs |
QuLogic | |
Extra parens around the g_object_new call. |
QuLogic | |
Extra parens around g_object_new. |
QuLogic | |
This might leak as the condition is composite. |
QuLogic | |
This might leak as the condition is composite. |
QuLogic | |
As this is a bit flag check in a composite, I would add an extra set of parentheses here. |
QuLogic |
- Change Summary:
-
rebased
renamed status_types to get_status_types
renamed list_icon to get_list_icon - Commit:
-
87751a4c824c6e42c876b5b9