[recipes] Small cleanup



commit 692fd9bf3196009713bd5599a1e01f7f1b65e41c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 28 10:09:36 2017 +0100

    Small cleanup
    
    Use the API we have.

 src/gr-edit-page.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-edit-page.c b/src/gr-edit-page.c
index 0c3124f..a7006c7 100644
--- a/src/gr-edit-page.c
+++ b/src/gr-edit-page.c
@@ -1845,7 +1845,7 @@ gr_edit_page_edit (GrEditPage *page,
         gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (page->vegetarian_check), (diets & 
GR_DIET_VEGETARIAN) != 0);
         gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (page->milk_free_check), (diets & GR_DIET_MILK_FREE) 
!= 0);
 
-        g_object_set (page->images, "images", images, NULL);
+        gr_image_viewer_set_images (GR_IMAGE_VIEWER (page->images), images);
 
         if (chef) {
                 g_autofree char *tmp = NULL;


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