[gimp] app: don't invalidate the buffer source in gimp_drawable_real_update()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't invalidate the buffer source in gimp_drawable_real_update()
- Date: Sun, 14 Feb 2016 21:41:39 +0000 (UTC)
commit c2cef394b256a72ef254b62960ed0377d3048fc5
Author: Michael Natterer <mitch gimp org>
Date: Sun Feb 14 22:39:42 2016 +0100
app: don't invalidate the buffer source in gimp_drawable_real_update()
This was an artifact from the times of the initial GEGL port,
apparently something was broken in GEGL at the time.
app/core/gimpdrawable.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index fb1294c..384c77e 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -742,22 +742,6 @@ gimp_drawable_real_update (GimpDrawable *drawable,
gint width,
gint height)
{
- if (drawable->private->buffer_source_node)
- {
- GObject *operation = NULL;
-
- g_object_get (drawable->private->buffer_source_node,
- "gegl-operation", &operation,
- NULL);
-
- if (operation)
- {
- gegl_operation_invalidate (GEGL_OPERATION (operation),
- GEGL_RECTANGLE (x,y,width,height), FALSE);
- g_object_unref (operation);
- }
- }
-
gimp_viewable_invalidate_preview (GIMP_VIEWABLE (drawable));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]