[gegl] sampler: fix gegl_sampler_get_context_rect



commit 9f3bae181a05fd804cc94693f9c5c08fc917edfd
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Sun Jul 3 23:20:09 2011 +0100

    sampler: fix gegl_sampler_get_context_rect

 gegl/buffer/gegl-sampler.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler.c b/gegl/buffer/gegl-sampler.c
index 47ce92e..a66ee1c 100644
--- a/gegl/buffer/gegl-sampler.c
+++ b/gegl/buffer/gegl-sampler.c
@@ -594,5 +594,5 @@ gegl_buffer_sampler_new (GeglBuffer       *buffer,
 const GeglRectangle*
 gegl_sampler_get_context_rect (GeglSampler *sampler)
 {
-  return &(sampler->context_rect);
+  return &(sampler->context_rect[0]);
 }



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