[gimp/goat-invasion] app: s/read_buffer/write_buffer/ in GimpTextLayer because we fill the tiles



commit 9d086deb5c099144765082637007300d1435ddc8
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]