adg: protect unbound AdgStroke entities
commit22849e6840aca2e940066043bcc6d093d52c7a2a
authorNicola Fontana <ntd@entidi.it>
Wed, 28 Jan 2015 14:32:49 +0000 (28 15:32 +0100)
committerNicola Fontana <ntd@entidi.it>
Wed, 28 Jan 2015 14:32:49 +0000 (28 15:32 +0100)
treeae0321ad212cec8216c6d32024cde254050c7bcb
parentb12af43c47d40beff2cb53fffef058eed61cfd65
adg: protect unbound AdgStroke entities

If an AdgStroke is not bound to an AdgTrail (e.g., if you created such
entity with g_object_new(ADG_TYPE_STROKE, NULL)), do not crash in the
arrange phase.
src/adg/adg-stroke.c