[gimp] app: fix gimp_chunk_iterator_set_priority_rect()
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix gimp_chunk_iterator_set_priority_rect()
- Date: Sat, 12 Jan 2019 12:31:54 +0000 (UTC)
commit 942e1aa9390b163b0b4a2998a582bb0b850710e3
Author: Ell <ell_se yahoo com>
Date: Sat Jan 12 07:30:43 2019 -0500
app: fix gimp_chunk_iterator_set_priority_rect()
app/core/gimpchunkiterator.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/app/core/gimpchunkiterator.c b/app/core/gimpchunkiterator.c
index 5e3243b2bb..fc627bb467 100644
--- a/app/core/gimpchunkiterator.c
+++ b/app/core/gimpchunkiterator.c
@@ -270,7 +270,8 @@ gimp_chunk_iterator_set_priority_rect (GimpChunkIterator *iter,
{
iter->priority_rect = *rect;
- gimp_chunk_iterator_merge (iter);
+ if (gimp_chunk_iterator_prepare (iter))
+ gimp_chunk_iterator_merge (iter);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]