Put the 'paste_canvas' and 'PasteCanvas' mentions on a single line to make things...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 18 Sep 2007 11:07:04 +0000 (11:07 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 18 Sep 2007 11:07:04 +0000 (11:07 +0000)
git-svn-id: http://svn.voria.com/code@707 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/duckmatic.cpp

index 957b76b..ff263be 100644 (file)
@@ -256,11 +256,8 @@ Duckmatic::is_duck_group_selectable(const etl::handle<Duck>& x)const
                        layer_name=="curve_gradient"
                )
                        return false;
-               if(
-                       (layer_name=="PasteCanvas"||
-                       layer_name=="paste_canvas")
-                       && !layer->get_param("children_lock").get(bool())
-               )
+               if((layer_name=="PasteCanvas"|| layer_name=="paste_canvas") &&
+                  !layer->get_param("children_lock").get(bool()))
                        return false;
        }
        return true;