FileSaver.saveFinish

bool saveFinish(gio.async_result.AsyncResult result)

Finishes a file saving started with gtksource.file_saver.FileSaver.saveAsync.

If the file has been saved successfully, the following gtksource.file.File properties will be updated: the location, the encoding, the newline type and the compression type.

Since the 3.20 version, gtk.text_buffer.TextBuffer.setModified is called with false if the file has been saved successfully.

Parameters

resulta #GAsyncResult.

Returns

whether the file was saved successfully.

Throws