[AdgPath] Corrected bug in adg_path_reflect()
commit9702bac11064251c0cc6b6bfe3ea5196d568daeb
authorNicola Fontana <ntd@entidi.it>
Sun, 14 Feb 2010 22:12:54 +0000 (14 23:12 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 14 Feb 2010 22:12:54 +0000 (14 23:12 +0100)
tree89ebf8318e267503e25a636062ed9fc0bc3057a5
parentb222526f12210f1ab58157e99a6f76097d5016b6
[AdgPath] Corrected bug in adg_path_reflect()

Properly reflects the named pairs by using a two steps approach:

1) put the current named pairs in a GSList
2) reappend the new named pairs by scanning the GSList

Previously the job was done in one step by modifying the AdgModel while
scanning it... I don't know what I was smoking but I guess it was
strong.
adg/adg-path-private.h
adg/adg-path.c