Changeset 480 for trunk/src/atk/Relation.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/src/atk/Relation.d (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/atk/Relation.d
r428 r480 51 51 * module aliases: 52 52 * local aliases: 53 * overrides: 53 54 */ 54 55 … … 88 89 89 90 /** the main Gtk struct as a void* */ 90 protected void* getStruct()91 protected override void* getStruct() 91 92 { 92 93 return cast(void*)atkRelation; … … 117 118 * Returns: an AtkRelationType associated with name 118 119 */ 119 public static AtkRelationType typeRegister( char[]name)120 public static AtkRelationType typeRegister(string name) 120 121 { 121 122 // AtkRelationType atk_relation_type_register (const gchar *name); … … 129 130 * Returns: the string describing the AtkRelationType 130 131 */ 131 public static char[]typeGetName(AtkRelationType type)132 public static string typeGetName(AtkRelationType type) 132 133 { 133 134 // 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)); 135 136 } 136 137 … … 141 142 * Returns: the AtkRelationType enumerated type corresponding to the specified name, or ATK_RELATION_NULL if no matching relation type is found. 142 143 */ 143 public static AtkRelationType typeForName( char[]name)144 public static AtkRelationType typeForName(string name) 144 145 { 145 146 // AtkRelationType atk_relation_type_for_name (const gchar *name);
