Commit 11eca738 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

don't needlessly use a void pointer for BablFormat.

2008-01-18  Sven Neumann  <sven@gimp.org>

	* gegl/buffer/gegl-tile-backend.h: don't needlessly use a void
	pointer for BablFormat.

	* gegl/buffer/gegl-tile-backend.c (get_property): actually
	implement the getter for the "format" property.

svn path=/trunk/; revision=1858
parent c4205c25
2008-01-18 Sven Neumann <sven@gimp.org>
* gegl/buffer/gegl-tile-backend.h: don't needlessly use a void
pointer for BablFormat.
* gegl/buffer/gegl-tile-backend.c (get_property): actually
implement the getter for the "format" property.
2008-01-18 Sven Neumann <sven@gimp.org>
* gegl/buffer/gegl-tile.c: don't use GSlice for the tile data.
......
......@@ -63,6 +63,7 @@ get_property (GObject *gobject,
break;
case PROP_FORMAT:
g_value_set_pointer (value, backend->format);
break;
default:
......
......@@ -36,7 +36,7 @@ struct _GeglTileBackend
gint tile_width;
gint tile_height;
void *format; /* defaults to the babl format "R'G'B'A u8" */
Babl *format; /* defaults to the babl format "R'G'B'A u8" */
gint px_size; /* size of a single pixel in bytes */
gint tile_size; /* size of an entire tile in bytes */
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment