Method

MsgMessageServiceget_mail_folders

Declaration [src]

GList*
msg_message_service_get_mail_folders (
  MsgMessageService* self,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Get all folders for given service.

Parameters

cancellable GCancellable
 

A GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: A list of MsgMailFolder*
 

All mail folders the user can access.

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