libpurple/status.h

changeset 42163
b0c31c877bde
parent 41782
5fb843f4e356
child 42164
cd96db566218
--- a/libpurple/status.h	Mon Mar 20 21:12:08 2023 -0500
+++ b/libpurple/status.h	Mon Mar 20 21:14:42 2023 -0500
@@ -81,24 +81,6 @@
  */
 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 @@
  * @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 @@
 	PURPLE_STATUS_EXTENDED_AWAY,
 	PURPLE_STATUS_MOBILE,
 	PURPLE_STATUS_TUNE,
-	PURPLE_STATUS_MOOD,
 
 	PURPLE_STATUS_NUM_PRIMITIVES, /*< skip >*/
 } PurpleStatusPrimitive;
@@ -207,9 +187,6 @@
  */
 #define PURPLE_TUNE_YEAR "tune_year"
 
-#define PURPLE_MOOD_NAME	"mood"
-#define PURPLE_MOOD_COMMENT	"moodtext"
-
 G_BEGIN_DECLS
 
 /**************************************************************************/
@@ -564,19 +541,6 @@
 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                                                       */
 /**************************************************************************/
 

mercurial