write_sync


Description:

public virtual bool write_sync (Cancellable? cancellable = null) throws Error

Submits the current contents of this to the D-Bus service to be written to disk and broadcast to other clients.

The this must be writable.

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

Parameters:

this

a writable Source

cancellable

optional Cancellable object, or null

Returns:

true on success, false on error