gegl r1858 - in trunk: . gegl/buffer



Author: neo
Date: Fri Jan 18 11:01:57 2008
New Revision: 1858
URL: http://svn.gnome.org/viewvc/gegl?rev=1858&view=rev

Log:
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.


Modified:
   trunk/ChangeLog
   trunk/gegl/buffer/gegl-tile-backend.c
   trunk/gegl/buffer/gegl-tile-backend.h

Modified: trunk/gegl/buffer/gegl-tile-backend.c
==============================================================================
--- trunk/gegl/buffer/gegl-tile-backend.c	(original)
+++ trunk/gegl/buffer/gegl-tile-backend.c	Fri Jan 18 11:01:57 2008
@@ -63,6 +63,7 @@
         break;
 
       case PROP_FORMAT:
+        g_value_set_pointer (value, backend->format);
         break;
 
       default:

Modified: trunk/gegl/buffer/gegl-tile-backend.h
==============================================================================
--- trunk/gegl/buffer/gegl-tile-backend.h	(original)
+++ trunk/gegl/buffer/gegl-tile-backend.h	Fri Jan 18 11:01:57 2008
@@ -36,7 +36,7 @@
 
   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 */
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]