[AdgStroke] Added guard in set_trail()
commit4d50ad2da2f976df3253f8827aa7562404ea0154
authorNicola Fontana <ntd@entidi.it>
Tue, 23 Feb 2010 23:17:42 +0000 (24 00:17 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 23 Feb 2010 23:17:42 +0000 (24 00:17 +0100)
treecf5849267f620ea7996fbaaba76e922a2f3ff977
parent870f81adaaa74d220edcefdeaf71f4c0bf144d72
[AdgStroke] Added guard in set_trail()

Check for valid trail object directly in the "trail" setter instead of
having it only in the public API.
adg/adg-stroke.c