Constructor
PurpleWhiteboardnew
unstable since: 3.0
Declaration [src]
PurpleWhiteboard*
purple_whiteboard_new (
PurpleAccount* account,
const gchar* id,
gint state
)
Parameters
account-
Type:
PurpleAccountA
PurpleAccountinstance.The data is owned by the caller of the function. id-
Type:
const gchar*The identifier of the whiteboard.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. state-
Type:
gintThe state.
Return value
Type: PurpleWhiteboard
The new PurpleWhiteboard instance.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |