Method
PurpleConnectiontake_error
since: 3.0
Declaration [src]
void
purple_connection_take_error (
PurpleConnection* pc,
GError* error
)
Description [src]
Closes a connection similar to purple_connection_error()
, but takes a
GError
which is then converted to purple error codes.
This function is equivalent to purple_connection_g_error()
, expect
that it takes ownership of the GError.
Available since: 3.0
Parameters
error
-
Type:
GError
Return address for a
GError
, orNULL
.The data is owned by the caller of the function.