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/src/atk/Relation.d

    r428 r480  
    5151 * module aliases: 
    5252 * local aliases: 
     53 * overrides: 
    5354 */ 
    5455 
     
    8889     
    8990    /** the main Gtk struct as a void* */ 
    90     protected void* getStruct() 
     91    protected override void* getStruct() 
    9192    { 
    9293        return cast(void*)atkRelation; 
     
    117118     * Returns: an AtkRelationType associated with name 
    118119     */ 
    119     public static AtkRelationType typeRegister(char[] name) 
     120    public static AtkRelationType typeRegister(string name) 
    120121    { 
    121122        // AtkRelationType atk_relation_type_register (const gchar *name); 
     
    129130     * Returns: the string describing the AtkRelationType 
    130131     */ 
    131     public static char[] typeGetName(AtkRelationType type) 
     132    public static string typeGetName(AtkRelationType type) 
    132133    { 
    133134        // const gchar* atk_relation_type_get_name (AtkRelationType type); 
    134         return Str.toString(atk_relation_type_get_name(type)).dup
     135        return Str.toString(atk_relation_type_get_name(type))
    135136    } 
    136137     
     
    141142     * Returns: the AtkRelationType enumerated type corresponding to the specified name, or ATK_RELATION_NULL if no matching relation type is found. 
    142143     */ 
    143     public static AtkRelationType typeForName(char[] name) 
     144    public static AtkRelationType typeForName(string name) 
    144145    { 
    145146        // AtkRelationType atk_relation_type_for_name (const gchar *name);