Method

MsgMessageServiceget_mail_folder

Declaration [src]

MsgMailFolder*
msg_message_service_get_mail_folder (
  MsgMessageService* self,
  MsgMessageMailFolderType type,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Get a specific mail folder for given service.

Parameters

type MsgMessageMailFolderType
 

A MsgMessageMailFolderType.

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: MsgMailFolder
 

A MsgMailFolder.

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