From 2b19869307252b3fc038e4166f6f34a0d1f1e5ac Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Fri, 17 Aug 2018 14:40:01 +0100 Subject: [PATCH] repo: remove outdated note from write_config() docs Since 9dc6ddce0848cf04b76fc1c673c8fc1a0f6f425a it has not been true that 'new_config' was simply ref'd: it's serialized, and then re-parsed into a new GKeyFile. Closes: #1707 Approved by: jlebon --- src/libostree/ostree-repo.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 4bea0f10..18736c24 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -1441,12 +1441,10 @@ ostree_repo_copy_config (OstreeRepo *self) /** * ostree_repo_write_config: * @self: Repo - * @new_config: Overwrite the config file with this data. Do not change later! + * @new_config: Overwrite the config file with this data * @error: a #GError * - * Save @new_config in place of this repository's config file. Note - * that @new_config should not be modified after - this function - * simply adds a reference. + * Save @new_config in place of this repository's config file. */ gboolean ostree_repo_write_config (OstreeRepo *self,