Fix 1814151: "Add a layer inside an exported canvas crash". Check the return value...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 14 Nov 2008 21:14:21 +0000 (21:14 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 14 Nov 2008 21:14:21 +0000 (21:14 +0000)
commit04295e119995f2bf29f75be0d0aec22e93bc0fad
tree14e25cfe41d6f0f6a4d39bef8e4d166cfae55c25
parent6d911b8b43b6a82b5373c3acaf6d4007aa999e0d
Fix 1814151: "Add a layer inside an exported canvas crash".  Check the return value of add_layer_to() in lots of places.  There may be more to come, and the function itself looks like it needs attention too.

git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2201 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-studio/trunk/src/gtkmm/state_bline.cpp
synfig-studio/trunk/src/gtkmm/state_circle.cpp
synfig-studio/trunk/src/gtkmm/state_draw.cpp
synfig-studio/trunk/src/gtkmm/state_gradient.cpp
synfig-studio/trunk/src/gtkmm/state_polygon.cpp
synfig-studio/trunk/src/gtkmm/state_rectangle.cpp
synfig-studio/trunk/src/gtkmm/state_star.cpp
synfig-studio/trunk/src/gtkmm/state_text.cpp