Method

PurpleConnectiondisconnect

unstable since: 3.0

Declaration [src]

gboolean
purple_connection_disconnect (
  PurpleConnection* connection
  GError** error
)

Description [src]

Tells the connection to disconnect. This is done by calling the Purple.ConnectionClass.disconnect function. State is managed by this function.

Available since: 3.0

Return value

Type: gboolean

TRUE if the account was disconnected gracefully, otherwise FALSE with error possibly set.