Method

PurpleConnectiontake_error

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.0

Parameters

error GError
 

Return address for a GError, or NULL.

 The data is owned by the caller of the function.