Method

PurpleConversationsinsert_conversation

unstable since: 3.0

Declaration [src]

gboolean
purple_conversations_insert_conversation (
  PurpleConversations* conversations,
  PurpleConversation* conversation,
  gint position
)

Description [src]

Inserts the conversation at the given position.

If position is less than 0 or greater than the number of items in the collection, the conversation will be appended to the end.

Available since: 3.0

Parameters

conversation

Type: PurpleConversation

The conversation to insert.

The data is owned by the caller of the method.
position

Type: gint

The position to insert at.

Return value

Type: gboolean

True if the conversation was newly inserted to the collection.