Method

PurplePresenceManagercreate

since: 3.0

Declaration [src]

PurpleSavedPresence*
purple_presence_manager_create (
  PurplePresenceManager* manager
)

Description [src]

Creates a new PurpleSavedPresence that is automatically added to manager.

This is the only way to add a PurpleSavedPresence to manager. This means that user interfaces will need to call this before displaying an editor to create a PurpleSavedPresence.

Available since: 3.0

Return value

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