libpurple/protocols/facebook/data.h

changeset 41294
3f0b065e58f7
parent 41293
bfd8314a1a74
child 41295
2f1bed3c4738
--- a/libpurple/protocols/facebook/data.h	Sun Mar 13 22:05:59 2022 -0500
+++ b/libpurple/protocols/facebook/data.h	Sun Mar 13 22:06:00 2022 -0500
@@ -213,9 +213,10 @@
  * @uid: The user #FbId.
  *
  * Gets a #GSList of messages by the user #FbId from the #FbData. The
- * #FbApiMessage's are removed from the #FbData. The returned #GSList
- * and its #FbApiMessage's should be freed with #fb_api_message_free()
- * and #g_slist_free_full() when no longer needed.
+ * #FbApiMessage's are removed from the #FbData.
+ *
+ * Returns: (element-type FbApiMessage) (transfer full): The messages from the
+ *          user.
  */
 GSList *
 fb_data_take_messages(FbData *fata, FbId uid);

mercurial