From d7fdaf8262180573de0e838a70c1368641b82a8e Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 7 Jun 2010 22:51:18 +0000 Subject: Removed Fl_Tree::parent(Fl_Tree_Item*) to solve STR#2377. The method was extraneous; item->parent() should be used instead. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Tree.H | 7 ------- 1 file changed, 7 deletions(-) diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H index bd426b212..c365d1ae8 100644 --- a/FL/Fl_Tree.H +++ b/FL/Fl_Tree.H @@ -214,13 +214,6 @@ public: Fl_Tree_Item *find_item(const char *path); const Fl_Tree_Item *find_item(const char *path) const; - /// Return the parent for specified \p item. - /// - /// \returns item's parent, or 0 if none (root). - /// - Fl_Tree_Item *parent(Fl_Tree_Item *item) { - return(item->parent()); - } /// Return the item that was last clicked. /// /// Valid only from within an Fl_Tree::callback(). -- cgit v1.2.3