[Gtk-sharp-list] Gdk.Color: thoughts

Miguel de Icaza miguel@ximian.com
28 Feb 2003 01:36:18 -0500


Hey guys,

   I was looking at the implementation of gdkcolor.c, and it occurs to
me that gdk_color_copy and gdk_color_free are useful routines in C to
use a pooling allocator for colors (all colors are created in a
g_mem_chunk for colors.

   But there are fairly low-level routines.  Am not sure if we want to
expose Copy/Free at all.

Miguel.