On Tue, Apr 19, 2005 at 09:30:37PM -0500, Bob Jamison wrote:
bulia byak wrote:
On 4/20/05, Bob Jamison <rwjj@...127...> wrote:
display/canvas-arena.cpp: In function 'void sp_canvas_arena_class_init(SPCanvasArenaClass*)': display/canvas-arena.cpp:91: warning: invalid access to non-static data member 'SPCanvasArenaClass::arena_event' of NULL object display/canvas-arena.cpp:91: warning: (perhaps the 'offsetof' macro was used incorrectly)
display/sp-canvas.cpp: In function 'void sp_canvas_item_class_init(SPCanvasItemClass*)': display/sp-canvas.cpp:110: warning: invalid access to non-static data member 'SPCanvasItemClass::event' of NULL object display/sp-canvas.cpp:110: warning: (perhaps the 'offsetof' macro was used incorrectly)
These are old and annoying. Doesn't anyone have an idea of how to fix these?
I think that gtkmm-ification will get rid of this stuff, and the old marshalling junk.
Actually, I'm not planning on converting over the canvas stuff. It's reasonably encapsulated that I think we can call the C functions. There's a ton of code for the canvas, so that'd be a pretty big project to convert it over to C++. Plus, I'm figuring when we convert to Cairo as a canvas we may be replacing it all anyway.
Bryce