diff snippets/tree/Snippet8.d @ 129:ae94c6a65f9e

Removed version=TANGOSVN for release 0.99.7
author Frank Benoit <benoit@tionex.de>
date Sat, 26 Jul 2008 02:47:41 +0200
parents 1f0a7a472680
children
line wrap: on
line diff
--- a/snippets/tree/Snippet8.d	Sat Jul 26 02:11:52 2008 +0200
+++ b/snippets/tree/Snippet8.d	Sat Jul 26 02:47:41 2008 +0200
@@ -31,12 +31,7 @@
 
 import dwt.dwthelper.utils;
 import tango.io.FilePath;
-version(TANGOSVN){
 import tango.io.FileSystem;
-}
-else{
-import tango.io.FileRoots;
-}
 
 void main () {
     auto display = new Display ();
@@ -44,12 +39,7 @@
     shell.setText ("Lazy Tree");
     shell.setLayout (new FillLayout ());
     auto tree = new Tree (shell, DWT.BORDER);
-version(TANGOSVN){
     auto roots = FileSystem.roots();
-}
-else{
-    auto roots = FileRoots.list();
-}
     foreach (file; roots) {
         auto root = new TreeItem (tree, 0);
         root.setText (file);