Method
ICalGLibComponentget_first_component
since: 1.0
Declaration [src]
ICalComponent*
i_cal_component_get_first_component (
ICalComponent* component,
ICalComponentKind kind
)
Description [src]
Gets the first ICalComponent with specific kind in ICalComponent.
Available since: 1.0
Parameters
kind-
Type:
ICalComponentKindA
ICalComponentKind.
Return value
Type: ICalComponent
The first ICalComponent.
| The caller of the method takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |