on failure
DebugControllerDBus.this
this
(gio.dbus_connection.DBusConnection connection, gio.cancellable.Cancellable cancellable = null)Create a new #GDebugControllerDBus and synchronously initialize it.
Initializing the object will export the debug object on connection. The object will remain registered until the last reference to the #GDebugControllerDBus is dropped.
Initialization may fail if registering the object on connection fails.
Parameters
connection | a #GDBusConnection to register the debug object on |
cancellable | a #GCancellable, or null |
Returns
a new #GDebugControllerDBus, or null
Throws
[ErrorWrap]