[gimp/goat-invasion: 57/418] app: replace direct low-level GeglBuffer calls with utility.
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 57/418] app: replace direct low-level GeglBuffer calls with utility.
- Date: Wed, 4 Apr 2012 10:30:33 +0000 (UTC)
commit c4338634d4364e1b52d69e84dc6b4d8ef365fc59
Author: Ãyvind KolÃs <pippin gimp org>
Date: Thu Mar 15 20:13:57 2012 +0000
app: replace direct low-level GeglBuffer calls with utility.
gimp_drawable_real_update exists, so use it
app/core/gimpdrawable.c | 2 +-
app/core/gimpprojection.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index 79289f0..b1e59cd 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -767,7 +767,7 @@ gimp_drawable_real_update (GimpDrawable *drawable,
if (buffer)
{
- gegl_tile_source_reinit (GEGL_TILE_SOURCE (buffer));
+ gimp_gegl_buffer_refetch_tiles (buffer);
g_object_unref (buffer);
}
}
diff --git a/app/core/gimpprojection.c b/app/core/gimpprojection.c
index 57cf01a..f583254 100644
--- a/app/core/gimpprojection.c
+++ b/app/core/gimpprojection.c
@@ -810,7 +810,7 @@ gimp_projection_invalidate (GimpProjection *proj,
NULL);
/* makes the buffer drop all GimpTiles */
- gegl_tile_source_reinit ((void*)buffer);
+ gimp_gegl_buffer_refetch_tiles (buffer);
g_object_unref (buffer);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]