[evolution-data-server] CalComponentParameterBag: The take method gives the ownership of the object
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] CalComponentParameterBag: The take method gives the ownership of the object
- Date: Mon, 7 Dec 2020 16:22:04 +0000 (UTC)
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]