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

    r466 r480  
    5050 * module aliases: 
    5151 * local aliases: 
     52 * overrides: 
    5253 */ 
    5354 
     
    136137     
    137138    /** the main Gtk struct as a void* */ 
    138     protected void* getStruct() 
     139    protected override void* getStruct() 
    139140    { 
    140141        return cast(void*)gdkKeymap; 
     
    397398     * Returns:a string containing the name of the key, or NULL if keyval is nota valid key. The string should not be modified. 
    398399     */ 
    399     public static char[] gdkKeyvalName(uint keyval) 
     400    public static string gdkKeyvalName(uint keyval) 
    400401    { 
    401402        // gchar* gdk_keyval_name (guint keyval); 
    402         return Str.toString(gdk_keyval_name(keyval)).dup
     403        return Str.toString(gdk_keyval_name(keyval))
    403404    } 
    404405     
     
    409410     * Returns:the corresponding key value, or GDK_VoidSymbol if the key name isnot a valid key. 
    410411     */ 
    411     public static uint gdkKeyvalFromName(char[] keyvalName) 
     412    public static uint gdkKeyvalFromName(string keyvalName) 
    412413    { 
    413414        // guint gdk_keyval_from_name (const gchar *keyval_name);