Hi All,
I thought it would be worth mentioning that we need to get rid of all
direct access to private fields of objects as part of our GTK+ 3
migration.
i.e.
foo->bar = bar_val; // NO!!
gtk_foo_set_bar (foo, bar_val); //Yes!
bar_val = foo->bar; // NO!!
bar_val = gtk_foo_get_bar (foo); //Yes!
To check for these issues, you can compile inkscape with:
make CFLAGS+="-DGSEAL_ENABLE" CXXFLAGS+="-DGSEAL_ENABLE"
Note that there are probably hundreds of such problems, so any help
with the cleanup would be appreciated!
Usually there is a suitable GTK/GDK accessor function to fix the
problem. Sometimes (e.g. [1]) there isn't, which I guess implies that
we're doing something the "wrong" way.
Cheers,
Alex
[1]
https://bugs.launchpad.net/inkscape/+bug/911174