[evolution-data-server] CalComponentPropertyBag: 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] CalComponentPropertyBag: The take method gives the ownership of the object
- Date: Mon, 7 Dec 2020 16:22:05 +0000 (UTC)
commit c2008753970341088b666b2ed72e3f1d74e3e054
Author: Corentin Noël <corentin noel collabora com>
Date: Mon Dec 7 17:21:47 2020 +0100
CalComponentPropertyBag: 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-property-bag.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/libecal/e-cal-component-property-bag.c
b/src/calendar/libecal/e-cal-component-property-bag.c
index dd7f53c27..e4bfc977f 100644
--- a/src/calendar/libecal/e-cal-component-property-bag.c
+++ b/src/calendar/libecal/e-cal-component-property-bag.c
@@ -250,7 +250,7 @@ e_cal_component_property_bag_add (ECalComponentPropertyBag *bag,
/**
* e_cal_component_property_bag_take:
* @bag: an #ECalComponentPropertyBag
- * @prop: an #ICalProperty
+ * @prop: (transfer full): an #ICalProperty
*
* Adds the @prop into the @bag and assumes ownership of the @prop.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]