create_sources_sync


Description:

public bool create_sources_sync (List<Source> list_of_sources, Cancellable? cancellable = null) throws Error

Requests the D-Bus service create new key files for each Source in list_of_sources.

Each list element must be a scratch Source with no DBusObject.

If an error occurs, the function will set error and return false.

Parameters:

this

an SourceRegistry

list_of_sources

a list of Source instances with no DBusObject

cancellable

optional Cancellable object, or null

Returns:

true on success, false on failure