* gdk-colormap-alloc-colors
@ 2003-08-08 22:43 Kevin Ryde
0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-08-08 22:43 UTC (permalink / raw)
To: guile-gtk
I think gdk-colormap-alloc-colors would be better done more in line
with the C function, namely returning a count and a list of #t/#f for
successes and failures.
I also think it should to modify the colour objects it gets to give
back the results from that function. The pixel value in particular is
the whole point of allocating.
* gdk-1.2.defs, gdk-support.c (gdk_colormap_alloc_colors_interp):
Rewrite returning failure count and list of #t/#f, per C function.
Modify given GdkColor objects with results.
Perhaps something in the present style has a place, but if so it
really needs to be under under a different name to avoid confusion. I
presume the current code has never been run though, since it bombs
immediately. (Negatives to scm_done_malloc seem broken, both in guile
1.6 and the cvs).
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-08 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-08 22:43 gdk-colormap-alloc-colors Kevin Ryde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).