Service.loadCollectionsSync

Ensure that the #SecretService proxy has loaded all the collections present in the Secret Service. This affects the result of secret_service_get_collections().

You can also pass the %SECRET_SERVICE_LOAD_COLLECTIONS to secret_service_get_sync() in order to ensure that the collections have been loaded by the time you get the #SecretService proxy.

This method may block indefinitely and should not be used in user interface threads.

class Service
bool
loadCollectionsSync
(
Cancellable cancellable
)

Parameters

cancellable Cancellable

optional cancellation object

Return Value

Type: bool

whether the load was successful or not

Throws

GException on failure.

Meta