Method

EDataServerSourceRegistryset_default_mail_account

since: 3.6

Declaration [src]

void
e_source_registry_set_default_mail_account (
  ESourceRegistry* registry,
  ESource* default_source
)

Description [src]

Sets default_source as the default mail account. If default_source is NULL, the default mail account is reset to the built-in mail account. This setting will persist across sessions until changed.

Available since: 3.6

Parameters

default_source

Type: ESource

A mail account ESource, or NULL.

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