libpurple/status.h

branch
soc.2013.gobjectification
changeset 34778
01d983ce883d
parent 34777
a0666e8aba67
child 34785
99bcdb44c75f
--- a/libpurple/status.h	Sun Jul 14 23:14:12 2013 +0530
+++ b/libpurple/status.h	Mon Jul 15 02:53:29 2013 +0530
@@ -259,7 +259,7 @@
 												gboolean independent,
 												const char *attr_id,
 												const char *attr_name,
-												PurpleValue *attr_value, ...) G_GNUC_NULL_TERMINATED;
+												GValue *attr_value, ...) G_GNUC_NULL_TERMINATED;
 
 /**
  * Destroys a status type.
@@ -393,12 +393,12 @@
  *
  * @param id         The ID of the attribute.
  * @param name       The name presented to the user.
- * @param value_type The type of data contained in the attribute.
+ * @param value      The data contained in the attribute.
  *
  * @return A new status attribute.
  */
 PurpleStatusAttr *purple_status_attr_new(const char *id, const char *name,
-									 PurpleValue *value_type);
+									 GValue *value);
 
 /**
  * Destroys a status attribute.
@@ -432,7 +432,7 @@
  *
  * @return The status attribute's value.
  */
-PurpleValue *purple_status_attr_get_value(const PurpleStatusAttr *attr);
+GValue *purple_status_attr_get_value(const PurpleStatusAttr *attr);
 
 /*@}*/
 
@@ -605,7 +605,7 @@
  *
  * @return The value of the attribute.
  */
-PurpleValue *purple_status_get_attr_value(const PurpleStatus *status,
+GValue *purple_status_get_attr_value(const PurpleStatus *status,
 									  const char *id);
 
 /**

mercurial