--- a/libpurple/protocol.h Tue Aug 03 23:51:44 2021 -0500 +++ b/libpurple/protocol.h Wed Aug 04 04:40:54 2021 -0500 @@ -39,7 +39,25 @@ * #PurpleProtocol is the base type for all protocols in libpurple. */ +/** + * PURPLE_TYPE_PROTOCOL: + * + * The standard _TYPE_ macro for #PurpleProtocol. + * + * Since: 3.0.0 + */ #define PURPLE_TYPE_PROTOCOL (purple_protocol_get_type()) + +/** + * purple_protocol_get_type: + * + * Gets the #GType for #PurpleProtocol. + * + * Returns: The #GType of #PurpleProtocol. + * + * Since: 3.0.0 + */ + G_DECLARE_DERIVABLE_TYPE(PurpleProtocol, purple_protocol, PURPLE, PROTOCOL, GObject)