Changeset 480 for trunk/src/atk/Image.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/src/atk/Image.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/atk/Image.d
r411 r480 47 47 * module aliases: 48 48 * local aliases: 49 * overrides: 49 50 */ 50 51 … … 129 130 * Returns: a string representing the image description 130 131 */ 131 public char[]getImageDescription()132 public string getImageDescription() 132 133 { 133 134 // const gchar* atk_image_get_image_description (AtkImage *image); 134 return Str.toString(atk_image_get_image_description(atkImage)) .dup;135 return Str.toString(atk_image_get_image_description(atkImage)); 135 136 } 136 137 … … 141 142 * Returns: boolean TRUE, or FALSE if operation couldnot be completed. 142 143 */ 143 public int setImageDescription( char[]description)144 public int setImageDescription(string description) 144 145 { 145 146 // gboolean atk_image_set_image_description (AtkImage *image, const gchar *description); … … 165 166 * Returns:a string corresponding to the POSIX LC_MESSAGES locale used by the image description, or NULL if the image does not specify a locale. 166 167 */ 167 public char[]getImageLocale()168 public string getImageLocale() 168 169 { 169 170 // const gchar* atk_image_get_image_locale (AtkImage *image); 170 return Str.toString(atk_image_get_image_locale(atkImage)) .dup;171 return Str.toString(atk_image_get_image_locale(atkImage)); 171 172 } 172 173 }
