adg: add wrappers for common geometry notices
commit342ef91b0631bb0852a4000ab1618ca4a2e562dc
authorNicola Fontana <ntd@entidi.it>
Fri, 31 Mar 2017 20:14:19 +0000 (31 22:14 +0200)
committerNicola Fontana <ntd@entidi.it>
Fri, 31 Mar 2017 20:14:19 +0000 (31 22:14 +0200)
treecbaab45e669df97b547d538b732316f50b1267c0
parent21ba042dec9aed63d6a899e3432659ebbe338288
adg: add wrappers for common geometry notices

Added two new methods to AdgDim (adg_dim_geometry_missing() and
adg_dim_geometry_coincidents()) that wrap adg_dim_set_geometry_notice()
and set the notification message in the two most common cases: a
reference is missing (the former) and two references are coincident (the
latter).
src/adg/adg-dim.c
src/adg/adg-dim.h
src/adg/tests/test-dim.c