New prototypes. New functions.

* gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
* gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
This commit is contained in:
Marius Vollmer
1998-06-07 12:00:55 +00:00
parent 110dac34df
commit e47f60d702
3 changed files with 116 additions and 0 deletions

View File

@ -456,6 +456,10 @@ void gdk_colormap_change (GdkColormap *colormap,
void gdk_colors_store (GdkColormap *colormap,
GdkColor *colors,
gint ncolors);
GdkColor *gdk_color_copy (GdkColor *color);
void gdk_color_free (GdkColor *color);
gint gdk_colors_alloc (GdkColormap *colormap,
gint contiguous,
gulong *planes,