[recipes] Rename a parameter
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Rename a parameter
- Date: Sun, 19 Feb 2017 16:52:09 +0000 (UTC)
commit 9a23ff45b3bf47c103bc3cf36b7929025e0d62d3
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Feb 19 10:37:28 2017 -0500
Rename a parameter
This more accurately reflects what it is about.
src/gr-recipe-store.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gr-recipe-store.c b/src/gr-recipe-store.c
index 5b6ed50..f2edf5a 100644
--- a/src/gr-recipe-store.c
+++ b/src/gr-recipe-store.c
@@ -77,7 +77,7 @@ gr_recipe_store_finalize (GObject *object)
static gboolean
load_recipes (GrRecipeStore *self,
const char *dir,
- gboolean readonly)
+ gboolean contributed)
{
g_autoptr(GKeyFile) keyfile = NULL;
g_autoptr(GError) error = NULL;
@@ -342,7 +342,7 @@ load_recipes (GrRecipeStore *self,
"diets", diets,
"images", images,
"default-image", default_image,
- "readonly", readonly,
+ "readonly", contributed,
NULL);
}
else {
@@ -369,7 +369,7 @@ load_recipes (GrRecipeStore *self,
"default-image", default_image,
"ctime", ctime,
"mtime", mtime,
- "readonly", readonly && !own,
+ "readonly", contributed && !own,
NULL);
g_hash_table_insert (self->recipes, g_strdup (id), recipe);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]