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/Image.d

    r411 r480  
    4747 * module aliases: 
    4848 * local aliases: 
     49 * overrides: 
    4950 */ 
    5051 
     
    129130     * Returns: a string representing the image description 
    130131     */ 
    131     public char[] getImageDescription() 
     132    public string getImageDescription() 
    132133    { 
    133134        // 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))
    135136    } 
    136137     
     
    141142     * Returns: boolean TRUE, or FALSE if operation couldnot be completed. 
    142143     */ 
    143     public int setImageDescription(char[] description) 
     144    public int setImageDescription(string description) 
    144145    { 
    145146        // gboolean atk_image_set_image_description (AtkImage *image,  const gchar *description); 
     
    165166     * 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. 
    166167     */ 
    167     public char[] getImageLocale() 
     168    public string getImageLocale() 
    168169    { 
    169170        // 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))
    171172    } 
    172173}