Method

EDataServerSourceRegistryref_default_mail_account

since: 3.6

Declaration [src]

ESource*
e_source_registry_ref_default_mail_account (
  ESourceRegistry* registry
)

Description [src]

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

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 mail account ESource.

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