mirror of https://github.com/GNOME/gimp.git
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:
parent
412c5b1806
commit
2158f66a65
10
ChangeLog
10
ChangeLog
|
@ -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>
|
||||
|
||||
* app/core/gimp.c: reverted last change as it is totally bogus and
|
||||
|
|
|
@ -297,14 +297,14 @@ HELP
|
|||
mask_bpp = brush->mask->bytes;
|
||||
num_mask_bytes = brush->mask->height * brush->mask->width *
|
||||
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)
|
||||
{
|
||||
color_bpp = brush->pixmap->bytes;
|
||||
num_color_bytes = brush->pixmap->height * brush->pixmap->width *
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -188,7 +188,7 @@ sub brushes_get_brush_data {
|
|||
width = brush->mask->width;
|
||||
height = brush->mask->height;
|
||||
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
|
||||
success = FALSE;
|
||||
|
|
|
@ -1125,7 +1125,7 @@ HELP
|
|||
actual_height = buf->height;
|
||||
bpp = buf->bytes;
|
||||
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);
|
||||
|
||||
temp_buf_free (buf);
|
||||
|
@ -1206,7 +1206,7 @@ HELP
|
|||
height = buf->height;
|
||||
bpp = 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);
|
||||
|
||||
temp_buf_free (buf);
|
||||
|
|
|
@ -2591,7 +2591,7 @@ HELP
|
|||
actual_height = buf->height;
|
||||
bpp = buf->bytes;
|
||||
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);
|
||||
|
||||
temp_buf_free (buf);
|
||||
|
|
|
@ -101,7 +101,7 @@ HELP
|
|||
bpp = pattern->mask->bytes;
|
||||
num_color_bytes = pattern->mask->height * pattern->mask->width *
|
||||
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);
|
||||
}
|
||||
else
|
||||
|
|
|
@ -140,7 +140,7 @@ sub patterns_get_pattern_data {
|
|||
mask_bpp = pattern->mask->bytes;
|
||||
length = pattern->mask->height * pattern->mask->width *
|
||||
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
|
||||
success = FALSE;
|
||||
|
|
Loading…
Reference in New Issue