Function

EDataCalCalBackendmail_account_get_default

Declaration [src]

gboolean
e_cal_backend_mail_account_get_default (
  ESourceRegistry* registry,
  gchar** address,
  gchar** name
)

Description [src]

Retrieve the default mail account as stored in Evolution configuration.

Parameters

registry

Type: ESourceRegistry

An ESourceRegistry.

The data is owned by the caller of the function.
address

Type: gchar**

Placeholder for default address.

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

Type: gchar**

Placeholder for name.

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

Return value

Type: gboolean

TRUE if there is a default account, FALSE otherwise.