Constructor

PurpleRoomlistRoomnew

since: 3.0

Declaration [src]

PurpleRoomlistRoom*
purple_roomlist_room_new (
  const gchar* name,
  const gchar* description
)

Description [src]

Creates a new room to be added to a PurpleRoomlist.

Available since: 3.0

Parameters

name

Type: const gchar*

The name for the room.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
description

Type: const gchar*

The description or topic of the room.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: PurpleRoomlistRoom

No description available.

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