[ADG] Ensure a virtual method is defined before calling it
commit863e016fbc91be012f4a208a422c440371e60007
authorNicola Fontana <ntd@entidi.it>
Thu, 7 Jan 2010 14:30:22 +0000 (7 15:30 +0100)
committerNicola Fontana <ntd@entidi.it>
Thu, 7 Jan 2010 14:30:22 +0000 (7 15:30 +0100)
tree2ab741373a9a88927cdf8798d91edff313e2f859
parentcf76b1fb2056659b502d1faf80c3aee81e4afa4f
[ADG] Ensure a virtual method is defined before calling it

Added NULL check before any call to virtual methods.

Closes issue #12: http://dev.entidi.com/p/adg/issues/12/
20 files changed:
adg/adg-adim.c
adg/adg-alignment.c
adg/adg-container.c
adg/adg-dim.c
adg/adg-edges.c
adg/adg-entity.c
adg/adg-fill-style.c
adg/adg-font-style.c
adg/adg-ldim.c
adg/adg-marker.c
adg/adg-model.c
adg/adg-path.c
adg/adg-rdim.c
adg/adg-ruled-fill.c
adg/adg-stroke.c
adg/adg-style.c
adg/adg-table.c
adg/adg-title-block.c
adg/adg-toy-text.c
adg/adg-trail.c