Show
Ignore:
Timestamp:
03/25/08 18:16:02 (8 months ago)
Author:
Mike Wey
Message:

Support for dmd 2.012

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/demos/gtkD/TestImage.d

    r322 r480  
    7979    { 
    8080 
    81         char[][] pngs; 
     81        string[] pngs; 
    8282         
    8383        pngs ~= "images/gtkD_bevel.png"; 
     
    9494    } 
    9595     
    96     private Table loadTable(char[][] imageFiles) 
     96    private Table loadTable(string[] imageFiles) 
    9797    { 
    9898        //Table table = new Table(1,1,false); 
     
    122122        for ( int i=0 ; i<imageFiles.length ;i++) 
    123123        { 
    124             char[] fileName = imageFiles[i]; 
     124            string fileName = imageFiles[i]; 
    125125            if ( fileName[0] != '/' ) 
    126126            { 
     
    152152        if ( fs  is  null ) 
    153153        { 
    154             char[][] a; 
     154            string[] a; 
    155155            ResponseType[] r; 
    156156            a ~= "Lets go!"; 
     
    164164        if ( response == ResponseType.GTK_RESPONSE_ACCEPT ) 
    165165        { 
    166             char[][] fileNames; 
     166            string[] fileNames; 
    167167            ListSG list = fs.getFileChooser().getFilenames(); 
    168168             
     
    174174                else writefln("Testmage.loadImages.File selected = %s",  
    175175                        Str.toString(cast(char*)list.nthData(i))); 
    176                 fileNames ~= Str.toString(cast(char*)list.nthData(i)).dup
     176                fileNames ~= Str.toString(cast(char*)list.nthData(i))
    177177            } 
    178178