[gi-docgen/filter-hidden: 4/11] generate: Tweak method return value transfer notes




commit ea75fd1279b6b4fbe0558630e1c8b3a90be14520
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Jun 10 10:22:16 2021 +0100

    generate: Tweak method return value transfer notes

 gidocgen/gdgenerate.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gidocgen/gdgenerate.py b/gidocgen/gdgenerate.py
index a13b74e..563baad 100644
--- a/gidocgen/gdgenerate.py
+++ b/gidocgen/gdgenerate.py
@@ -47,8 +47,8 @@ RETVAL_TRANSFER_MODES = {
 
 METHOD_RETVAL_TRANSFER_MODES = {
     'none': 'The data is owned by the instance.',
-    'container': 'The caller of the function takes ownership of the data container, but not the data inside 
it.',
-    'full': 'The caller of the function takes ownership of the data, and is responsible for freeing it.',
+    'container': 'The caller of the method takes ownership of the data container, but not the data inside 
it.',
+    'full': 'The caller of the method takes ownership of the data, and is responsible for freeing it.',
     'floating': 'The returned data has a floating reference.',
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]