Function

PurplePresenceManagerget_default_as_model

since: 3.0

Declaration [src]

GListModel*
purple_presence_manager_get_default_as_model (
  void
)

Description [src]

Gets the default PurplePresenceManager as a GListModel.

This is the equivalent to calling purple_presence_manager_get_default() and type casting it to GListModel.

This may be NULL if libpurple hasn’t been initialized or if someone incorrectly unref’d it.

See also purple_presence_manager_get_default().

Available since: 3.0

Return value

Type: A list model of GObject

The default presence manager type cast to a list model.

The data is owned by the called function.
The return value can be NULL.