Method

PurplePresenceManagerset_active

since: 3.0

Declaration [src]

gboolean
purple_presence_manager_set_active (
  PurplePresenceManager* manager,
  PurpleSavedPresence* presence
)

Description [src]

Sets the active presence to presence.

If manager doesn’t know about presence, FALSE will be returned to indicate a failure.

Available since: 3.0

Parameters

presence

Type: PurpleSavedPresence

The presence to set as active.

The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if a presence was found and made active, otherwise FALSE.