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/internal/accessibility/gtk/ATK.d

    r108 r238  
    1616 *******************************************************************************/ 
    1717module dwt.internal.accessibility.gtk.ATK; 
     18 
     19import dwt.dwthelper.utils; 
    1820 
    1921 
     
    6466    // Note: highly dependent on the .stringof formatting 
    6567    // the value begins with "& " which is why the first two chars are cut off 
    66     const char[] NameOfFunc = (&f).stringof[2 .. $]; 
     68    const String NameOfFunc = (&f).stringof[2 .. $]; 
    6769} 
    6870 
     
    7880/+ 
    7981// alternative template implementation, might be more stable 
    80 template ForwardGtkOsCFunc(char[] name) { 
     82template ForwardGtkOsCFunc(String name) { 
    8183  alias typeof(mixin(name)) func; 
    8284  alias ParameterTupleOf!(func) Params; 
     
    146148 
    147149    /** Signals */ 
    148     public static const char[] selection_changed = "selection_changed"; 
    149     public static const char[] text_changed_insert = "text_changed::insert"; 
    150     public static const char[] text_changed_delete = "text_changed::delete"; 
    151     public static const char[] text_caret_moved = "text_caret_moved"; 
    152     public static const char[] text_selection_changed = "text_selection_changed"; 
     150    public static const String selection_changed = "selection_changed"; 
     151    public static const String text_changed_insert = "text_changed::insert"; 
     152    public static const String text_changed_delete = "text_changed::delete"; 
     153    public static const String text_caret_moved = "text_caret_moved"; 
     154    public static const String text_selection_changed = "text_selection_changed"; 
    153155 
    154156    mixin ForwardGtkAtkCFunc!(.ATK_ACTION_GET_IFACE );