Function

Pidgintalkatu_buffer_new_for_connection

Declaration [src]

GtkTextBuffer*
pidgin_talkatu_buffer_new_for_connection (
  PurpleConnection* pc
)

Description [src]

Creates a new TalkatuBuffer. Depending on pcs PurpleConnectionFlags, it will create a plain, HTML, or markdown buffer.

Parameters

pc PurpleConnection
 

The connection for which the buffer should be created.

 The data is owned by the caller of the function.

Return value

Returns: GtkTextBuffer
 

The new TalkatuBuffer.

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