[gimp/goat-invasion: 88/401] app: s/read_buffer/write_buffer/ in GimpTextLayer because we fill the tiles
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 88/401] app: s/read_buffer/write_buffer/ in GimpTextLayer because we fill the tiles
- Date: Mon, 2 Apr 2012 11:55:32 +0000 (UTC)
commit afa7c1488fb819a06474e2b49fea6c0edb63c021
Author: Michael Natterer <mitch gimp org>
Date: Sat Mar 17 00:34:15 2012 +0100
app: s/read_buffer/write_buffer/ in GimpTextLayer because we fill the tiles
app/text/gimptextlayer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/text/gimptextlayer.c b/app/text/gimptextlayer.c
index 11fbdb4..a4a6099 100644
--- a/app/text/gimptextlayer.c
+++ b/app/text/gimptextlayer.c
@@ -688,7 +688,7 @@ gimp_text_layer_render_layout (GimpTextLayer *layer,
data = cairo_image_surface_get_data (surface);
rowstride = cairo_image_surface_get_stride (surface);
- buffer = gimp_drawable_get_read_buffer (drawable);
+ buffer = gimp_drawable_get_write_buffer (drawable);
format = gimp_drawable_get_babl_format (drawable);
bytes = babl_format_get_bytes_per_pixel (format);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]