[recipes] shopping page: Remove no-longer-used API



commit d6da051ebbf10506d8e3b977893c6a2c4190092f
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 13 23:30:23 2017 -0400

    shopping page: Remove no-longer-used API
    
    We now get the shopping list recipes directly
    from the store, so we don't need this function anymore.

 src/gr-shopping-page.c |    6 ------
 src/gr-shopping-page.h |    2 --
 2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/gr-shopping-page.c b/src/gr-shopping-page.c
index 30fe74f..072a101 100644
--- a/src/gr-shopping-page.c
+++ b/src/gr-shopping-page.c
@@ -870,12 +870,6 @@ gr_shopping_page_populate (GrShoppingPage *self)
         gr_recipe_search_set_query (self->search, "is:shopping");
 }
 
-GList *
-gr_shopping_page_get_recipes (GrShoppingPage *self)
-{
-        return get_recipes (self);
-}
-
 static void
 recipe_removed (GrShoppingPage *page,
                 GrRecipe       *recipe)
diff --git a/src/gr-shopping-page.h b/src/gr-shopping-page.h
index d8fbaac..6992d63 100644
--- a/src/gr-shopping-page.h
+++ b/src/gr-shopping-page.h
@@ -34,6 +34,4 @@ GtkWidget      *gr_shopping_page_new      (void);
 
 void            gr_shopping_page_populate (GrShoppingPage *self);
 
-GList          *gr_shopping_page_get_recipes (GrShoppingPage *self);
-
 G_END_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]