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/status.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/status.h')
-rw-r--r-- | libpurple/status.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libpurple/status.h b/libpurple/status.h index b95f1ed81f..70c95723e3 100644 --- a/libpurple/status.h +++ b/libpurple/status.h @@ -81,24 +81,6 @@ typedef struct _PurpleStatusType PurpleStatusType; */ typedef struct _PurpleStatusAttribute PurpleStatusAttribute; -#define PURPLE_TYPE_MOOD (purple_mood_get_type()) - -/** - * PurpleMood: - * @mood: A string representing the mood. - * @description: A short description of the mood. - * - * A structure to represent a mood. - */ -typedef struct { - /*< public >*/ - const char *mood; - const char *description; - - /*< private >*/ - gpointer padding[4]; -} PurpleMood; - /** * PurpleStatusPrimitive: * @PURPLE_STATUS_UNSET: The status is not set @@ -110,7 +92,6 @@ typedef struct { * @PURPLE_STATUS_EXTENDED_AWAY: The status is extended away/do not disturb * @PURPLE_STATUS_MOBILE: The status is mobile * @PURPLE_STATUS_TUNE: The status includes a song title - * @PURPLE_STATUS_MOOD: The status includes a mood * @PURPLE_STATUS_NUM_PRIMITIVES: The number of #PurpleStatusPrimitive<!-- -->s * * A primitive defining the basic structure of a status type. @@ -130,7 +111,6 @@ typedef enum PURPLE_STATUS_EXTENDED_AWAY, PURPLE_STATUS_MOBILE, PURPLE_STATUS_TUNE, - PURPLE_STATUS_MOOD, PURPLE_STATUS_NUM_PRIMITIVES, /*< skip >*/ } PurpleStatusPrimitive; @@ -207,9 +187,6 @@ typedef enum */ #define PURPLE_TUNE_YEAR "tune_year" -#define PURPLE_MOOD_NAME "mood" -#define PURPLE_MOOD_COMMENT "moodtext" - G_BEGIN_DECLS /**************************************************************************/ @@ -564,19 +541,6 @@ const char *purple_status_attribute_get_name(const PurpleStatusAttribute *attr); GValue *purple_status_attribute_get_value(const PurpleStatusAttribute *attr); /**************************************************************************/ -/* PurpleMood API */ -/**************************************************************************/ - -/** - * purple_mood_get_type: - * - * The standard _get_type function for #PurpleMood. - * - * Returns: The #GType for the #PurpleMood boxed structure. - */ -GType purple_mood_get_type(void); - -/**************************************************************************/ /* PurpleStatus API */ /**************************************************************************/ |