libpurple/conversationtypes.h

branch
soc.2013.gobjectification.plugins
changeset 37128
7ffe330ea8ea
parent 37101
8ba9a23354ff
parent 35639
7391a9c98a1d
child 37404
5f45ba259934
--- a/libpurple/conversationtypes.h	Fri Mar 14 19:30:31 2014 +0530
+++ b/libpurple/conversationtypes.h	Mon Mar 31 07:25:15 2014 +0530
@@ -380,11 +380,23 @@
  * Returns a list of users in the chat room.  The members of the list
  * are PurpleChatUser objects.
  *
- * Returns: (transfer none): The list of users.
+ * Returns: (transfer container): The list of users. Use g_list_free() when done
+ *          using the list.
  */
 GList *purple_chat_conversation_get_users(const PurpleChatConversation *chat);
 
 /**
+ * purple_chat_conversation_get_users_count:
+ * @chat: The chat.
+ *
+ * Returns count of users in the chat room.
+ *
+ * Returns: The count of users in the chat room.
+ */
+guint
+purple_chat_conversation_get_users_count(const PurpleChatConversation *chat);
+
+/**
  * purple_chat_conversation_ignore:
  * @chat: The chat.
  * @name: The name of the user.

mercurial