Function
PurpleConnectionErrorInfonew
since: 3.0
Declaration [src]
PurpleConnectionErrorInfo*
purple_connection_error_info_new (
PurpleConnectionError type,
const gchar* description
)
Parameters
type
-
Type:
PurpleConnectionError
The
PurpleConnectionError
of the error. description
-
Type:
const gchar*
The description of the error.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PurpleConnectionErrorInfo
The new instance.
The caller of the function takes ownership of the data, and is responsible for freeing it. |