[AdgTrail] Make adg_trail_put_segment() transaction protected
authorNicola Fontana <ntd@entidi.it>
Sat, 13 Mar 2010 13:25:33 +0000 (14:25 +0100)
committerNicola Fontana <ntd@entidi.it>
Sat, 13 Mar 2010 13:25:33 +0000 (14:25 +0100)
commitac26682b59531ab44c8f96ecade8f0469f913cd9
treec15b637daf1aa0997ca39661e225871b2c22605d
parent1b159b26b0811ea3ef28edeafcc9214c907c312d
[AdgTrail] Make adg_trail_put_segment() transaction protected

The method must get the segment or fail without touching the passed in
parameter. Also, allow @segment to be NULL if the caller wants to check
only if a segment exists and does not care of which segment is.
adg/adg-trail.c