[ CCode ( cname = "e_source_registry_new" , has_construct_function = false ) ]
public async SourceRegistry (Cancellable? cancellable) throws Error
Asynchronously creates a new SourceRegistry front-end for the registry D-Bus service.
When the operation is finished, callback
will be called. You can then call SourceRegistry.end
to get the result of the operation.
Since 3.12 a singleton will be returned. No strong reference is kept internally, so it is the caller's responsibility to keep one.
cancellable |
optional Cancellable object, or |
callback |
a TaskReadyCallback to call when the request is satisfied |
user_data |
data to pass to the callback function |