Changeset 480 for trunk/src/atk/State.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/src/atk/State.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/atk/State.d
r411 r480 47 47 * module aliases: 48 48 * local aliases: 49 * overrides: 49 50 */ 50 51 … … 78 79 * Returns: an AtkState value for the new state. 79 80 */ 80 public static AtkStateType typeRegister( char[]name)81 public static AtkStateType typeRegister(string name) 81 82 { 82 83 // AtkStateType atk_state_type_register (const gchar *name); … … 90 91 * Returns: the string describing the AtkStateType 91 92 */ 92 public static char[]typeGetName(AtkStateType type)93 public static string typeGetName(AtkStateType type) 93 94 { 94 95 // const gchar* atk_state_type_get_name (AtkStateType type); 95 return Str.toString(atk_state_type_get_name(type)) .dup;96 return Str.toString(atk_state_type_get_name(type)); 96 97 } 97 98 … … 102 103 * Returns: an AtkStateType corresponding to name 103 104 */ 104 public static AtkStateType typeForName( char[]name)105 public static AtkStateType typeForName(string name) 105 106 { 106 107 // AtkStateType atk_state_type_for_name (const gchar *name);
