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/gdk/Display.d

    r429 r480  
    5656 * module aliases: 
    5757 * local aliases: 
     58 * overrides: 
    5859 */ 
    5960 
     
    104105     
    105106    /** the main Gtk struct as a void* */ 
    106     protected void* getStruct() 
     107    protected override void* getStruct() 
    107108    { 
    108109        return cast(void*)gdkDisplay; 
     
    169170     * Returns: a GdkDisplay, or NULL if the display could not be opened. 
    170171     */ 
    171     public static Display open(char[] displayName) 
     172    public static Display open(string displayName) 
    172173    { 
    173174        // GdkDisplay* gdk_display_open (const gchar *display_name); 
     
    203204     * Returns: a string representing the display name. This string is ownedby GDK and should not be modified or freed. 
    204205     */ 
    205     public char[] getName() 
     206    public string getName() 
    206207    { 
    207208        // const gchar* gdk_display_get_name (GdkDisplay *display); 
    208         return Str.toString(gdk_display_get_name(gdkDisplay)).dup
     209        return Str.toString(gdk_display_get_name(gdkDisplay))
    209210    } 
    210211