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

    r411 r480  
    4949 * module aliases: 
    5050 * local aliases: 
     51 * overrides: 
    5152 */ 
    5253 
     
    132133     * Returns:: a gchar* representing the specified mime type; the callershould not free the character string. 
    133134     */ 
    134     public char[] getMimeType(int i) 
     135    public string getMimeType(int i) 
    135136    { 
    136137        // const gchar* atk_streamable_content_get_mime_type  (AtkStreamableContent *streamable,  gint i); 
    137         return Str.toString(atk_streamable_content_get_mime_type(atkStreamableContent, i)).dup
     138        return Str.toString(atk_streamable_content_get_mime_type(atkStreamableContent, i))
    138139    } 
    139140     
     
    144145     * Returns: A GIOChannel which contains the content in the specified mimetype. 
    145146     */ 
    146     public IOChannel getStream(char[] mimeType) 
     147    public IOChannel getStream(string mimeType) 
    147148    { 
    148149        // GIOChannel* atk_streamable_content_get_stream (AtkStreamableContent *streamable,  const gchar *mime_type); 
     
    169170     * Returns: Returns a string representing a URI, or NULL if no corresponding URIcan be constructed.Since ATK 1.12 
    170171     */ 
    171     public char[] getUri(char[] mimeType) 
     172    public string getUri(string mimeType) 
    172173    { 
    173174        // gchar* atk_streamable_content_get_uri (AtkStreamableContent *streamable,  const gchar *mime_type); 
    174         return Str.toString(atk_streamable_content_get_uri(atkStreamableContent, Str.toStringz(mimeType))).dup
     175        return Str.toString(atk_streamable_content_get_uri(atkStreamableContent, Str.toStringz(mimeType)))
    175176    } 
    176177}