[gimp/goat-invasion: 201/526] app: rename the buffer's tile_source_node to buffer_source_node
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 201/526] app: rename the buffer's tile_source_node to buffer_source_node
- Date: Sun, 22 Apr 2012 13:16:10 +0000 (UTC)
commit f2ff5a59e6809f253b8e9addb814ea759d8967e2
Author: Michael Natterer <mitch gimp org>
Date: Thu Mar 22 00:18:22 2012 +0100
app: rename the buffer's tile_source_node to buffer_source_node
app/core/gimpdrawable-private.h | 2 +-
app/core/gimpdrawable.c | 22 +++++++++++-----------
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/app/core/gimpdrawable-private.h b/app/core/gimpdrawable-private.h
index 78c8ee7..46c557d 100644
--- a/app/core/gimpdrawable-private.h
+++ b/app/core/gimpdrawable-private.h
@@ -26,7 +26,7 @@ struct _GimpDrawablePrivate
TileManager *shadow; /* shadow buffer tiles */
GeglNode *source_node;
- GeglNode *tile_source_node;
+ GeglNode *buffer_source_node;
GimpLayer *floating_selection;
GeglNode *fs_crop_node;
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index e3850d9..48c62e7 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -721,11 +721,11 @@ gimp_drawable_real_update (GimpDrawable *drawable,
gint width,
gint height)
{
- if (drawable->private->tile_source_node)
+ if (drawable->private->buffer_source_node)
{
GObject *operation = NULL;
- g_object_get (drawable->private->tile_source_node,
+ g_object_get (drawable->private->buffer_source_node,
"gegl-operation", &operation,
NULL);
@@ -818,8 +818,8 @@ gimp_drawable_real_set_buffer (GimpDrawable *drawable,
if (old_has_alpha != gimp_drawable_has_alpha (drawable))
gimp_drawable_alpha_changed (drawable);
- if (drawable->private->tile_source_node)
- gegl_node_set (drawable->private->tile_source_node,
+ if (drawable->private->buffer_source_node)
+ gegl_node_set (drawable->private->buffer_source_node,
"buffer", gimp_drawable_get_buffer (drawable),
NULL);
}
@@ -1019,10 +1019,10 @@ gimp_drawable_sync_source_node (GimpDrawable *drawable,
"operation", "gimp:point-layer-mode",
NULL);
- gegl_node_connect_to (drawable->private->tile_source_node, "output",
- drawable->private->fs_mode_node, "input");
- gegl_node_connect_to (drawable->private->fs_offset_node, "output",
- drawable->private->fs_mode_node, "aux");
+ gegl_node_connect_to (drawable->private->buffer_source_node, "output",
+ drawable->private->fs_mode_node, "input");
+ gegl_node_connect_to (drawable->private->fs_offset_node, "output",
+ drawable->private->fs_mode_node, "aux");
gegl_node_connect_to (drawable->private->fs_mode_node, "output",
output, "input");
@@ -1101,8 +1101,8 @@ gimp_drawable_sync_source_node (GimpDrawable *drawable,
drawable);
}
- gegl_node_connect_to (drawable->private->tile_source_node, "output",
- output, "input");
+ gegl_node_connect_to (drawable->private->buffer_source_node, "output",
+ output, "input");
}
}
@@ -1544,7 +1544,7 @@ gimp_drawable_get_source_node (GimpDrawable *drawable)
drawable->private->source_node = gegl_node_new ();
- drawable->private->tile_source_node =
+ drawable->private->buffer_source_node =
gegl_node_new_child (drawable->private->source_node,
"operation", "gegl:buffer-source",
"buffer", gimp_drawable_get_buffer (drawable),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]