Comment 3 for bug 1089290

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Ah... this kind of thing makes me glad I replaced the C-style pointer casting :-)

The GObject pointer cast macros perform runtime type-checking of objects so it reveals places such as this where we were doing something dodgy all along.

Anyway, I've fixed this in lp:inkscape r11951. We should keep our eyes open for other similar runtime warnings that have been revealed since the type-checking was introduced.