libpurple/savedstatuses.h

branch
soc.2013.gobjectification.plugins
changeset 37075
cf3f735b09b7
parent 37072
b4d3e353c563
parent 35475
ec0d44434ba8
child 37088
4d5ad6b1878e
--- a/libpurple/savedstatuses.h	Thu Feb 06 16:53:42 2014 +0530
+++ b/libpurple/savedstatuses.h	Thu Feb 06 20:02:57 2014 +0530
@@ -29,7 +29,7 @@
 #ifndef _PURPLE_SAVEDSTATUSES_H_
 #define _PURPLE_SAVEDSTATUSES_H_
 
-#define PURPLE_TYPE_SAVEDSTATUS  (purple_savedstatus_get_g_type())
+#define PURPLE_TYPE_SAVEDSTATUS  (purple_savedstatus_get_type())
 
 /**
  * PurpleSavedStatus:
@@ -68,19 +68,19 @@
 G_BEGIN_DECLS
 
 /**************************************************************************/
-/** @name Saved status subsystem                                          */
+/* Saved status subsystem                                                 */
 /**************************************************************************/
 /*@{*/
 
 /**
- * purple_savedstatus_get_g_type:
+ * purple_savedstatus_get_type:
  *
  * Returns: The #GType for the #PurpleSavedStatus boxed structure.
  */
 /* TODO Boxing of PurpleSavedStatus is a temporary solution to having a GType
  *      for saved statuses. This should rather be a GObject instead of a GBoxed.
  */
-GType purple_savedstatus_get_g_type(void);
+GType purple_savedstatus_get_type(void);
 
 /**
  * purple_savedstatus_new:
@@ -109,13 +109,13 @@
 								const char *title);
 
 /**
- * purple_savedstatus_set_type:
+ * purple_savedstatus_set_primitive_type:
  * @status:  The saved status.
  * @type:    The type of saved status.
  *
  * Set the type for the given saved status.
  */
-void purple_savedstatus_set_type(PurpleSavedStatus *status,
+void purple_savedstatus_set_primitive_type(PurpleSavedStatus *status,
 							   PurpleStatusPrimitive type);
 
 /**
@@ -133,7 +133,7 @@
  * purple_savedstatus_set_substatus:
  * @status:	The saved status.
  * @account:	The account.
- * @type:		The status type for the account in the staved
+ * @type:		The status type for the account in the saved
  *                  status.
  * @message:	The message for the account in the substatus.
  *
@@ -339,14 +339,14 @@
 const char *purple_savedstatus_get_title(const PurpleSavedStatus *saved_status);
 
 /**
- * purple_savedstatus_get_type:
+ * purple_savedstatus_get_primitive_type:
  * @saved_status: The saved status.
  *
  * Return the type of a given saved status.
  *
  * Returns: The primitive type.
  */
-PurpleStatusPrimitive purple_savedstatus_get_type(const PurpleSavedStatus *saved_status);
+PurpleStatusPrimitive purple_savedstatus_get_primitive_type(const PurpleSavedStatus *saved_status);
 
 /**
  * purple_savedstatus_get_message:
@@ -408,14 +408,15 @@
 									const PurpleAccount *account);
 
 /**
- * purple_savedstatus_substatus_get_type:
+ * purple_savedstatus_substatus_get_status_type:
  * @substatus: The substatus.
  *
  * Get the status type of a given substatus.
  *
  * Returns: The status type.
  */
-const PurpleStatusType *purple_savedstatus_substatus_get_type(const PurpleSavedStatusSub *substatus);
+const PurpleStatusType *purple_savedstatus_substatus_get_status_type(
+		const PurpleSavedStatusSub *substatus);
 
 /**
  * purple_savedstatus_substatus_get_message:

mercurial