Method

EDataServerSourceRegistryref_default_calendar

since: 3.6

Declaration [src]

ESource*
e_source_registry_ref_default_calendar (
  ESourceRegistry* registry
)

Description [src]

Returns the ESource most recently passed to e_source_registry_set_default_calendar() either in this session or a previous session, or else falls back to the built-in calendar.

The returned ESource is referenced for thread-safety and must be unreferenced with g_object_unref() when finished with it.

Available since: 3.6

Return value

Type: ESource

The default calendar ESource.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.