[cells-gtk-devel] [Patch] Cffi update, Startup, Bug in cells?

Ingo Bormuth Bormuth at web.de
Tue Jun 24 12:52:30 UTC 2008


Hmm,

>
> Ingo Bormuth wrote:
> > For some reason several functions from fm-utilities.lisp (for example
> > #'container and #'upper) stopped working. When I roll back CELLS to 
> > the last revision of May, 21. everything works as expected.
>
> On 2008-06-23 17:53, Kenny Tilton wrote:
> Not sure what is going on over in cells-gtk, but upper and fm-parent are 
> not interchangeable functionally. Upper is a macro, btw. I think what 
> you might be seeing is that making that change just happens to get some 
> things working while basically being just wrong. Upper as a macro can 
> cause problems if things get loaded in the wrong order, but just the 
> usual Lisp thing with macro references compiled before Lisp knows it's a 
> macro.
>

Yea, you're right. Cells itself is perfectly fine. The mentioned change just
uncovered an old issue in cells-gtk:

In widgets.lisp defmodel introduces a slot called container that creates an 
accessor also called 'container' which apparently overwrites the generic
function container defined in fm-utilities.lisp.
It seems cells:container-typed calles the accessor (cells-gtk:container)
instead of cells-container defined just above it. Upper uses container-typed.

Simply renaming container's accessor to container-of in widgets.lisp 
resolved the problem so far. Currently I don't have the time to test or
investigate the issue properly, though.

Sorry for suspecting cells of being the evil.

/Ingo


-- 
Ingo Bormuth,  voicebox & telefax:  +49-(0)-12125-10226517
PGP public key 86326EC9 at http://ibormuth.efil.de/contact
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114




More information about the cells-gtk-devel mailing list