diff options
author | Gary Kramlich <grim@reaperworld.com> | 2023-03-20 21:14:42 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2023-03-20 21:14:42 -0500 |
commit | a965b83ba6a3a490e54ba69e9f6bf96c80d776e0 (patch) | |
tree | c77460468e21a93b2813c0f9c9acb573c557dcc0 /libpurple/purpleprotocolclient.h | |
parent | 40001171184e77f257647df9916235249f4073f6 (diff) | |
download | pidgin-a965b83ba6a3a490e54ba69e9f6bf96c80d776e0.tar.gz |
Remove all of the current Mood API
The functionality of the mood api is being moved into PurplePresence via the
soon to be added Emoji and Message properties. As such we have no need for the
existing API which is why we are removing all of it.
Testing Done:
Ran `ninja pidgin-pot all tests` successfully and verified there were no new warnings.
Reviewed at https://reviews.imfreedom.org/r/2366/
Diffstat (limited to 'libpurple/purpleprotocolclient.h')
-rw-r--r-- | libpurple/purpleprotocolclient.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libpurple/purpleprotocolclient.h b/libpurple/purpleprotocolclient.h index bba020b25a..1d1c74acc3 100644 --- a/libpurple/purpleprotocolclient.h +++ b/libpurple/purpleprotocolclient.h @@ -89,8 +89,6 @@ G_DECLARE_INTERFACE(PurpleProtocolClient, purple_protocol_client, PURPLE, * The hash table should be destroyed * by the caller when it's no longer * needed. - * @get_moods: Returns an array of #PurpleMood's, with the last one having - * "mood" set to %NULL. * @get_max_message_size: Gets the maximum message size in bytes for the * conversation. * <sbr/>It may depend on connection-specific or @@ -135,8 +133,6 @@ struct _PurpleProtocolClientInterface { GHashTable *(*get_account_text_table)(PurpleProtocolClient *client, PurpleAccount *account); - PurpleMood *(*get_moods)(PurpleProtocolClient *client, PurpleAccount *account); - gssize (*get_max_message_size)(PurpleProtocolClient *client, PurpleConversation *conv); /*< private >*/ @@ -277,19 +273,6 @@ gboolean purple_protocol_client_offline_message(PurpleProtocolClient *client, Pu GHashTable *purple_protocol_client_get_account_text_table(PurpleProtocolClient *client, PurpleAccount *account); /** - * purple_protocol_client_get_moods: - * @client: The #PurpleProtocolClient instance. - * @account: A #PurpleAccount instance. - * - * Gets the mood's for @account. - * - * Returns: (transfer none): A %NULL terminated array of #PurpleMood's. - * - * Since: 3.0.0 - */ -PurpleMood *purple_protocol_client_get_moods(PurpleProtocolClient *client, PurpleAccount *account); - -/** * purple_protocol_client_get_max_message_size: * @client: The #PurpleProtocolClient instance. * @conv: A #PurpleConversation instance. |