Method

ECalClientremove_objects

since: 3.6

Declaration [src]

void
e_cal_client_remove_objects (
  ECalClient* client,
  const GSList* ids,
  ECalObjModType mod,
  ECalOperationFlags opflags,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

This function allows the removal of instances of recurrent appointments. ECalComponentId objects can identify specific instances (if rid is not NULL). If what you want is to remove all instances, use a NULL rid in the ECalComponentId and #E_CAL_OBJ_MOD_ALL for the mod.

The call is finished by e_cal_client_remove_objects_finish() from the callback.

Available since: 3.6

This method completes asynchronously. Use e_cal_client_remove_objects_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

ids

Type: A list of None

A list of ECalComponentId objects identifying the objects to remove.

The data is owned by the caller of the method.
mod

Type: ECalObjModType

Type of the removal.

opflags

Type: ECalOperationFlags

Bit-or of ECalOperationFlags.

cancellable

Type: GCancellable

A GCancellable; can be NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

Callback to call when a result is ready.

The argument can be NULL.
user_data

Type: gpointer

User data for the callback.

The argument can be NULL.
The data is owned by the caller of the method.