Signal
GioDBusConnection::closed
since: 2.26
Declaration
void
closed (
  GDBusConnection* self,
  gboolean remote_peer_vanished,
  GError* error,
  gpointer user_data
)
Description [src]
Emitted when the connection is closed.
The cause of this event can be
- 
If g_dbus_connection_close()is called. In this caseremote_peer_vanishedis set toFALSEanderrorisNULL.
- 
If the remote peer closes the connection. In this case remote_peer_vanishedis set toTRUEanderroris set.
- 
If the remote peer sends invalid or malformed data. In this case remote_peer_vanishedis set toFALSEanderroris set.
Upon receiving this signal, you should give up your reference to
connection. You are guaranteed that this signal is emitted only once.
| Default handler: The default handler is called after the handlers added via  | 
| Available since: 2.26 | 
Parameters
- remote_peer_vanished
- 
            Type: gbooleanTRUEifconnectionis closed because the remote peer closed its end of the connection.
- error
- 
            Type: GErrorA GErrorwith more details about the event orNULL.The argument can be NULL.The data is owned by the caller of the function.