[gegl/newiter] iterator: more cleanup
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/newiter] iterator: more cleanup
- Date: Wed, 11 Sep 2013 20:54:20 +0000 (UTC)
commit 494baf1edffa4d1c3843eef6d5ce7e688277da6b
Author: Daniel Sabo <DanielSabo gmail com>
Date: Wed Sep 11 13:11:25 2013 -0700
iterator: more cleanup
gegl/buffer/gegl-buffer-iterator.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-iterator.c b/gegl/buffer/gegl-buffer-iterator.c
index 844f4b0..14f7889 100644
--- a/gegl/buffer/gegl-buffer-iterator.c
+++ b/gegl/buffer/gegl-buffer-iterator.c
@@ -114,14 +114,14 @@ gegl_buffer_iterator_add (GeglBufferIterator *iter,
unsigned int flags,
GeglAbyssPolicy abyss_policy)
{
- int index;
GeglBufferIteratorPriv *priv = iter->priv;
+ int index;
+ SubIterState *sub;
g_return_val_if_fail (priv->num_buffers < GEGL_BUFFER_MAX_ITERATORS, 0);
index = priv->num_buffers++;
-
- SubIterState *sub = &priv->sub_iter[index];
+ sub = &priv->sub_iter[index];
if (!format)
format = gegl_buffer_get_format (buf);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]