Gio.DBusConnection.prototype.unregister_object

function unregister_object(registration_id: Number(guint)): Boolean {
    // Gjs wrapper for g_dbus_connection_unregister_object()
}
  

Unregisters an object.

Since 2.26

registration_id

a registration id obtained from Gio.DBusConnection.prototype.register_object

Returns

true if the object was unregistered, false otherwise