[gnome-photos/wip/rishi/double-buffering: 10/13] image-view: Be more strict about what is acceptable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/double-buffering: 10/13] image-view: Be more strict about what is acceptable
- Date: Thu, 19 Jan 2017 19:31:19 +0000 (UTC)
commit d76e8bd9e0b4181c7f782cd03b0c4dcc24f62442
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 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-image-view.c b/src/photos-image-view.c
index f898c8f..ad4aa78 100644
--- a/src/photos-image-view.c
+++ b/src/photos-image-view.c
@@ -185,8 +185,10 @@ 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));
g_return_if_fail (self->bbox_region != NULL);
g_return_if_fail (self->region != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]