Allow the 1st argument of LinkableValueNode::get_description() to default to -1,...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 16 Feb 2008 04:55:48 +0000 (04:55 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 16 Feb 2008 04:55:48 +0000 (04:55 +0000)
git-svn-id: http://svn.voria.com/code@1707 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/valuenode.h

index bf58504..38e5c56 100644 (file)
@@ -353,7 +353,7 @@ public:
        ValueNode::LooseHandle get_link(const String &name)const { return get_link(get_link_index_from_name(name)); }
 
        String
-       get_description(int index, bool show_exported_name = true)const;
+       get_description(int index = -1, bool show_exported_name = true)const;
 
 protected:
        //! Sets the type of the ValueNode