[gnome-photos/wip/rishi/double-buffering: 7/7] image-view: Be more strict about what is acceptable



commit 7295e26b10e66f548acf593fb93b77e22d1e676f
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Jan 17 10:58:57 2017 +0100

    image-view: Be more strict about what is acceptable

 src/photos-image-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-image-view.c b/src/photos-image-view.c
index 9c973a9..dbf200a 100644
--- a/src/photos-image-view.c
+++ b/src/photos-image-view.c
@@ -198,6 +198,7 @@ photos_image_view_computed (PhotosImageView *self, GeglRectangle *rect)
 {
   cairo_status_t status;
 
+  g_return_if_fail (PHOTOS_IS_IMAGE_VIEW (self));
   g_return_if_fail (GEGL_IS_NODE (self->buffer_source));
   g_return_if_fail (GEGL_IS_NODE (self->graph));
   g_return_if_fail (GEGL_IS_NODE (self->node));


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