[vlc-commits] commit: skins2: remove unused function (Erwan Tulou )

git at videolan.org git at videolan.org
Tue Aug 10 18:57:07 CEST 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue Aug 10 13:34:13 2010 +0200| [9b6c32316755f11b26f8f93ea770f66566480ebc] | committer: Erwan Tulou 

skins2: remove unused function

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b6c32316755f11b26f8f93ea770f66566480ebc
---

 modules/gui/skins2/utils/var_tree.cpp |   12 ------------
 modules/gui/skins2/utils/var_tree.hpp |    1 -
 modules/gui/skins2/vars/playtree.cpp  |    2 --
 3 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/modules/gui/skins2/utils/var_tree.cpp b/modules/gui/skins2/utils/var_tree.cpp
index 9d71575..a6fb750 100644
--- a/modules/gui/skins2/utils/var_tree.cpp
+++ b/modules/gui/skins2/utils/var_tree.cpp
@@ -194,18 +194,6 @@ VarTree::Iterator VarTree::prev_uncle()
     return root()->begin();
 }
 
-
-void VarTree::checkParents( VarTree *pParent )
-{
-    m_pParent = pParent;
-    Iterator it = begin();
-    while( it != end() )
-    {
-        it->checkParents( this );
-        it++;
-    }
-}
-
 int VarTree::visibleItems()
 {
     int i_count = size();
diff --git a/modules/gui/skins2/utils/var_tree.hpp b/modules/gui/skins2/utils/var_tree.hpp
index 3291dc2..7be58ad 100644
--- a/modules/gui/skins2/utils/var_tree.hpp
+++ b/modules/gui/skins2/utils/var_tree.hpp
@@ -103,7 +103,6 @@ public:
 
     /// Parent node
     VarTree *parent() { return m_pParent; }
-    void checkParents( VarTree *pParent );
 
     /// Get next sibling
     Iterator getNextSibling( Iterator );
diff --git a/modules/gui/skins2/vars/playtree.cpp b/modules/gui/skins2/vars/playtree.cpp
index bcc6fe6..43cba38 100644
--- a/modules/gui/skins2/vars/playtree.cpp
+++ b/modules/gui/skins2/vars/playtree.cpp
@@ -274,7 +274,5 @@ void Playtree::buildTree()
     buildNode( m_pPlaylist->p_root_category, *this );
 
     playlist_Unlock( m_pPlaylist );
-//  What is it ?
-//    checkParents( NULL );
 }
 



More information about the vlc-commits mailing list