Virtual Method

CamelMessageInfoset_subject

since: 3.24

Declaration [src]

gboolean
set_subject (
  CamelMessageInfo* mi,
  const gchar* subject
)

Description [src]

Sets Subject from the associated message.

This property is considered static, in a meaning that it should not change during the life-time of the mi, the same as it doesn’t change in the associated message.

If the mi changed, the ‘dirty’ flag and the ‘folder-flagged’ flag are set automatically, unless the mi is aborting notifications. There is not emitted folder’s “changed” signal for this mi.

Available since: 3.24

Parameters

subject

Type: const gchar*

A Subject to set.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

Whether the value changed.