DBusConnection.closeSync

Synchronously closes @connection. The calling thread is blocked until this is done. See g_dbus_connection_close() for the asynchronous version of this method and more details about what it does.

class DBusConnection
bool
closeSync

Parameters

cancellable Cancellable

a #GCancellable or %NULL

Return Value

Type: bool

%TRUE if the operation succeeded, %FALSE if @error is set

Throws

GException on failure.

Meta

Since

2.26