[recipes/list-all: 4/8] Rename a function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes/list-all: 4/8] Rename a function
- Date: Tue, 21 Feb 2017 02:29:51 +0000 (UTC)
commit ada4affd9550d988884259e354dbd3fbed523638
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Feb 20 21:11:26 2017 -0500
Rename a function
populate_diets_from_store was really about filling the
categories section, so name it accordingly. Also, reorder
these populate functions to follow the order on the page.
src/gr-recipes-page.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gr-recipes-page.c b/src/gr-recipes-page.c
index a09cd7f..6c6bf03 100644
--- a/src/gr-recipes-page.c
+++ b/src/gr-recipes-page.c
@@ -55,9 +55,9 @@ struct _GrRecipesPage
G_DEFINE_TYPE (GrRecipesPage, gr_recipes_page, GTK_TYPE_BOX)
-static void populate_diets_from_store (GrRecipesPage *page);
static void populate_recipes_from_store (GrRecipesPage *page);
static void populate_shopping_from_store (GrRecipesPage *page);
+static void populate_categories_from_store (GrRecipesPage *page);
static void populate_chefs_from_store (GrRecipesPage *page);
static void connect_store_signals (GrRecipesPage *page);
@@ -140,9 +140,9 @@ gr_recipes_page_init (GrRecipesPage *page)
gtk_widget_set_has_window (GTK_WIDGET (page), FALSE);
gtk_widget_init_template (GTK_WIDGET (page));
- populate_diets_from_store (page);
populate_recipes_from_store (page);
populate_shopping_from_store (page);
+ populate_categories_from_store (page);
populate_chefs_from_store (page);
gr_recipe_tile_recreate_css ();
gr_chef_tile_recreate_css ();
@@ -212,7 +212,7 @@ category_clicked (GrCategoryTile *tile,
}
static void
-populate_diets_from_store (GrRecipesPage *self)
+populate_categories_from_store (GrRecipesPage *self)
{
int i;
GrDiets diets[5] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]