[evolution-data-server] CalComponentParameterBag: The take method gives the ownership of the object



commit 37da692cb8ccc9044583893dcb1d8c1676fcfae3
Author: Corentin Noël <corentin noel collabora com>
Date:   Mon Dec 7 17:20:17 2020 +0100

    CalComponentParameterBag: The take method gives the ownership of the object
    
    Add (transfer full) annotation to let the introspection aware of it.

 src/calendar/libecal/e-cal-component-parameter-bag.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/libecal/e-cal-component-parameter-bag.c 
b/src/calendar/libecal/e-cal-component-parameter-bag.c
index 785d15822..276e39da3 100644
--- a/src/calendar/libecal/e-cal-component-parameter-bag.c
+++ b/src/calendar/libecal/e-cal-component-parameter-bag.c
@@ -250,7 +250,7 @@ e_cal_component_parameter_bag_add (ECalComponentParameterBag *bag,
 /**
  * e_cal_component_parameter_bag_take:
  * @bag: an #ECalComponentParameterBag
- * @param: an #ICalParameter
+ * @param: (transfer full): an #ICalParameter
  *
  * Adds the @param into the @bag and assumes ownership of the @param.
  *


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