[libsoup] soup-session: Mark soup_session_new() as "transfer full"
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] soup-session: Mark soup_session_new() as "transfer full"
- Date: Wed, 10 Aug 2022 17:06:29 +0000 (UTC)
commit 36770e8b8265add935b8d530f3207bab12fc9188
Author: Chris Talbot <chris talbothome com>
Date: Wed Aug 10 10:05:57 2022 -0400
soup-session: Mark soup_session_new() as "transfer full"
soup_session_new() returns a new GObject, so it should be marked
as "transfer full"
libsoup/soup-session.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index fcfc6312..e3577428 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -501,7 +501,7 @@ soup_session_get_property (GObject *object, guint prop_id,
*
* Creates a #SoupSession with the default options.
*
- * Returns: the new session.
+ * Returns: (transfer full): the new session.
*/
SoupSession *
soup_session_new (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]