commit_changes


Description:

[ Version ( deprecated = true , deprecated_since = "1.22" ) ]
public bool commit_changes (bool save_to_disk, Cancellable? cancellable = null) throws Error

Warning: commit_changes is deprecated since 1.22.

Send any local changes to the settings and properties of this to NetworkManager.

Note:

Use commit_changes_async or GDBusConnection.

If save_to_disk is true, the updated connection will be saved to disk; if false, then only the in-memory representation will be changed.

Parameters:

this

the RemoteConnection

save_to_disk

whether to persist the changes to disk

cancellable

a Cancellable, or null

Returns:

true on success, false on error, in which case throws will be set.




2022 vala-language.org