Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/dnd/DropTarget.d

    r200 r238  
    117117    int drag_drop_handler; 
    118118 
    119     static const char[] DEFAULT_DROP_TARGET_EFFECT = "DEFAULT_DROP_TARGET_EFFECT"; //$NON-NLS-1$ 
    120     static const char[] DROPTARGETID = "DropTarget"; //$NON-NLS-1$ 
     119    static const String DEFAULT_DROP_TARGET_EFFECT = "DEFAULT_DROP_TARGET_EFFECT"; //$NON-NLS-1$ 
     120    static const String DROPTARGETID = "DropTarget"; //$NON-NLS-1$ 
    121121    static const int DRAGOVER_HYSTERESIS = 50; 
    122122 
     
    370370 
    371371protected override void checkSubclass () { 
    372     char[] name = this.classinfo.name; 
    373     char[] validName = DropTarget.classinfo.name; 
     372    String name = this.classinfo.name; 
     373    String validName = DropTarget.classinfo.name; 
    374374    if ( validName !=/*eq*/ name ) { 
    375375        DND.error (DWT.ERROR_INVALID_SUBCLASS); 
     
    703703        if (transfer !is null) { 
    704704            int[] typeIds = transfer.getTypeIds(); 
    705             char[][] typeNames = transfer.getTypeNames(); 
     705            String[] typeNames = transfer.getTypeNames(); 
    706706            for (int j = 0; j < typeIds.length; j++) { 
    707707                GtkTargetEntry* entry = new GtkTargetEntry();