On Mon, Jul 14, 2003 at 12:37:28AM -0500, Adrian Kubala wrote: > When fiddling with region_tag, I accidentally realized I can tag and > attach whole frames. So I did this. But when I try and split the frame, > Ion crashes. Not too surprising --
There's an obsolete statement from the time when W(Ion)Frames could only be attached to WWorkspaces assert(mgr!=NULL && WOBJ_IS(mgr, WIonWS)); around line 607 in ionws/split.c. It should be changed to if(!(...)) return NULL; and possibly a warning message to prevent splitting the frame instead of just dying in such an impossibility: splitting is a feature of the workspace, not the frame although the function names might indicate otherwise. > I was impressed that it could even > attach the frame correctly. Yay for OO programming. If I've undestood the (next hype?) concept correctly, some thing in Ion might be even considered a primitive form aspect-oriented programming. (Not all objects necessarily implement some dynamic functions at all and a class can implement arbitrary dynamic functions.) -- Tuomo
