Function

EDataCalCalCacheresolve_timezone_cb

since: 3.26

Declaration [src]

ICalTimezone*
e_cal_cache_resolve_timezone_cb (
  const gchar* tzid,
  gpointer cal_cache,
  GCancellable* cancellable,
  GError** error
)

Description [src]

An ECalRecurResolveTimezoneCb callback, which can be used with e_cal_recur_generate_instances_sync(). The cal_cache is supposed to be an ECalCache instance.

Available since: 3.26

Parameters

tzid

Type: const gchar*

A timezone ID.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
cal_cache

Type: gpointer

An ECalCache.

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

Type: GCancellable

Optional GCancellable object, or NULL.

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

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the function if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: None

The resolved ICalTimezone, or NULL, if not found.

The data is owned by the called function.
The return value can be NULL.