[recipes] Use the new start/stop API for the cooking view
- From: Matthias Clasen <matthiasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [recipes] Use the new start/stop API for the cooking view
 
- Date: Fri, 24 Feb 2017 05:23:34 +0000 (UTC)
 
commit f35bf126e249ed9924a737633f19541945cb884f
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 23 19:10:21 2017 -0500
    Use the new start/stop API for the cooking view
 src/gr-cooking-page.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gr-cooking-page.c b/src/gr-cooking-page.c
index a392b03..e79e63a 100644
--- a/src/gr-cooking-page.c
+++ b/src/gr-cooking-page.c
@@ -205,7 +205,7 @@ set_cooking (GrCookingPage *page,
                                                                         _("Cooking"));
                 }
 
-                gr_cooking_view_set_step (GR_COOKING_VIEW (page->cooking_view), 0);
+                gr_cooking_view_start (GR_COOKING_VIEW (page->cooking_view));
                 update_steppers (page);
 
                 gr_window_set_fullscreen (GR_WINDOW (window), TRUE);
@@ -217,7 +217,7 @@ set_cooking (GrCookingPage *page,
                 }
 
                 gr_window_show_recipe (GR_WINDOW (window), page->recipe);
-                update_steppers (page);
+                gr_cooking_view_stop (GR_COOKING_VIEW (page->cooking_view));
 
                 gr_window_set_fullscreen (GR_WINDOW (window), FALSE);
         }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]