tools/pdbgen/pdb/pattern.pdb tools/pdbgen/pdb/brushes.pdb

2008-12-15  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/pattern.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/patterns.pdb: need to do the change to
	temp_buf_get_data() here for the generated PDB code.


svn path=/trunk/; revision=27795
This commit is contained in:
Sven Neumann 2008-12-15 08:15:09 +00:00 committed by Sven Neumann
parent 412c5b1806
commit 2158f66a65
7 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,13 @@
2008-12-15 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/pattern.pdb
* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/brush.pdb
* tools/pdbgen/pdb/patterns.pdb: need to do the change to
temp_buf_get_data() here for the generated PDB code.
2008-12-14 Sven Neumann <sven@gimp.org> 2008-12-14 Sven Neumann <sven@gimp.org>
* app/core/gimp.c: reverted last change as it is totally bogus and * app/core/gimp.c: reverted last change as it is totally bogus and

View File

@ -297,14 +297,14 @@ HELP
mask_bpp = brush->mask->bytes; mask_bpp = brush->mask->bytes;
num_mask_bytes = brush->mask->height * brush->mask->width * num_mask_bytes = brush->mask->height * brush->mask->width *
brush->mask->bytes; brush->mask->bytes;
mask_bytes = g_memdup (temp_buf_data (brush->mask), num_mask_bytes); mask_bytes = g_memdup (temp_buf_get_data (brush->mask), num_mask_bytes);
if (brush->pixmap) if (brush->pixmap)
{ {
color_bpp = brush->pixmap->bytes; color_bpp = brush->pixmap->bytes;
num_color_bytes = brush->pixmap->height * brush->pixmap->width * num_color_bytes = brush->pixmap->height * brush->pixmap->width *
brush->pixmap->bytes; brush->pixmap->bytes;
color_bytes = g_memdup (temp_buf_data (brush->pixmap), color_bytes = g_memdup (temp_buf_get_data (brush->pixmap),
num_color_bytes); num_color_bytes);
} }
} }

View File

@ -188,7 +188,7 @@ sub brushes_get_brush_data {
width = brush->mask->width; width = brush->mask->width;
height = brush->mask->height; height = brush->mask->height;
length = brush->mask->height * brush->mask->width; length = brush->mask->height * brush->mask->width;
mask_data = g_memdup (temp_buf_data (brush->mask), length); mask_data = g_memdup (temp_buf_get_data (brush->mask), length);
} }
else else
success = FALSE; success = FALSE;

View File

@ -1125,7 +1125,7 @@ HELP
actual_height = buf->height; actual_height = buf->height;
bpp = buf->bytes; bpp = buf->bytes;
thumbnail_data_count = actual_width * actual_height * bpp; thumbnail_data_count = actual_width * actual_height * bpp;
thumbnail_data = g_memdup (temp_buf_data (buf), thumbnail_data = g_memdup (temp_buf_get_data (buf),
thumbnail_data_count); thumbnail_data_count);
temp_buf_free (buf); temp_buf_free (buf);
@ -1206,7 +1206,7 @@ HELP
height = buf->height; height = buf->height;
bpp = buf->bytes; bpp = buf->bytes;
thumbnail_data_count = buf->height * buf->width * buf->bytes; thumbnail_data_count = buf->height * buf->width * buf->bytes;
thumbnail_data = g_memdup (temp_buf_data (buf), thumbnail_data = g_memdup (temp_buf_get_data (buf),
thumbnail_data_count); thumbnail_data_count);
temp_buf_free (buf); temp_buf_free (buf);

View File

@ -2591,7 +2591,7 @@ HELP
actual_height = buf->height; actual_height = buf->height;
bpp = buf->bytes; bpp = buf->bytes;
thumbnail_data_count = actual_width * actual_height * bpp; thumbnail_data_count = actual_width * actual_height * bpp;
thumbnail_data = g_memdup (temp_buf_data (buf), thumbnail_data = g_memdup (temp_buf_get_data (buf),
thumbnail_data_count); thumbnail_data_count);
temp_buf_free (buf); temp_buf_free (buf);

View File

@ -101,7 +101,7 @@ HELP
bpp = pattern->mask->bytes; bpp = pattern->mask->bytes;
num_color_bytes = pattern->mask->height * pattern->mask->width * num_color_bytes = pattern->mask->height * pattern->mask->width *
pattern->mask->bytes; pattern->mask->bytes;
color_bytes = g_memdup (temp_buf_data (pattern->mask), color_bytes = g_memdup (temp_buf_get_data (pattern->mask),
num_color_bytes); num_color_bytes);
} }
else else

View File

@ -140,7 +140,7 @@ sub patterns_get_pattern_data {
mask_bpp = pattern->mask->bytes; mask_bpp = pattern->mask->bytes;
length = pattern->mask->height * pattern->mask->width * length = pattern->mask->height * pattern->mask->width *
pattern->mask->bytes; pattern->mask->bytes;
mask_data = g_memdup (temp_buf_data (pattern->mask), length); mask_data = g_memdup (temp_buf_get_data (pattern->mask), length);
} }
else else
success = FALSE; success = FALSE;