From dcf97b6d6d96b755b8199f32658ba057388a27a8 Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 16 Feb 2008 04:55:48 +0000 Subject: [PATCH] Allow the 1st argument of LinkableValueNode::get_description() to default to -1, meaning "no specific link". git-svn-id: http://svn.voria.com/code@1707 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/valuenode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/synfig/valuenode.h b/synfig-core/trunk/src/synfig/valuenode.h index bf58504..38e5c56 100644 --- a/synfig-core/trunk/src/synfig/valuenode.h +++ b/synfig-core/trunk/src/synfig/valuenode.h @@ -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 -- 2.7.4