libgeda: add recursion in o_bounds_invalidate
commit06f09ecaee96c130825f238689aef530657f892f
authorKrzysztof Kosciuszkiewicz <k.kosciuszkiewicz@gmail.com>
Tue, 11 Jan 2011 00:26:24 +0000 (11 01:26 +0100)
committerPeter TB Brett <peter@peter-b.co.uk>
Tue, 11 Jan 2011 17:47:09 +0000 (11 17:47 +0000)
tree6ef43df4861dec75cdf2cc8edd7d4a3a80a2e3ae
parent6e54d862d31c1cd97ae54eb457c980f8053b4f10
libgeda: add recursion in o_bounds_invalidate

Instead of invalidating cached bounds for single object, follow the
hierarchy and invalidate cached bounds of all parents as well.

Reviewed-by: Peter TB Brett <peter@peter-b.co.uk>
Reviewed-by: Peter Clifton <pcjc2@cam.ac.uk>
Affects-bug: lp-700841

(cherry picked from commit bb27719f730b078dc250196af40141ff7cac8636)
libgeda/src/o_basic.c