Function
ECalComponentOrganizernew_from_property
since: 3.34
Declaration [src]
ECalComponentOrganizer*
e_cal_component_organizer_new_from_property (
const ICalProperty* property
)
Description [src]
Creates a new ECalComponentOrganizer, filled with values from property,
which should be of kind I_CAL_ORGANIZER_PROPERTY. The function returns
NULL when it is not of the expected kind. Free the structure
with e_cal_component_organizer_free(), when no longer needed.
Available since: 3.34
Parameters
property-
Type:
NoneAn
ICalPropertyof kindI_CAL_ORGANIZER_PROPERTY.The data is owned by the caller of the function.
Return value
Type: ECalComponentOrganizer
A newly allocated ECalComponentOrganizer.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |