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

    r411 r480  
    5151 * module aliases: 
    5252 * local aliases: 
     53 * overrides: 
    5354 */ 
    5455 
     
    138139     * Returns: the display name, if specified explicitely, otherwise NULL this string is owned by GTK+ and must not be modified or freed. 
    139140     */ 
    140     public static char[] getDisplayArgName() 
     141    public static string getDisplayArgName() 
    141142    { 
    142143        // const gchar* gdk_get_display_arg_name (void); 
    143         return Str.toString(gdk_get_display_arg_name()).dup
     144        return Str.toString(gdk_get_display_arg_name())
    144145    } 
    145146     
     
    151152     * Returns:the resulting locale. 
    152153     */ 
    153     public static char[] setLocale() 
     154    public static string setLocale() 
    154155    { 
    155156        // gchar* gdk_set_locale (void); 
    156         return Str.toString(gdk_set_locale()).dup
     157        return Str.toString(gdk_set_locale())
    157158    } 
    158159     
     
    169170     *  connection was opened, or NULL to remove the property. 
    170171     */ 
    171     public static void setSmClientId(char[] smClientId) 
     172    public static void setSmClientId(string smClientId) 
    172173    { 
    173174        // void gdk_set_sm_client_id (const gchar *sm_client_id); 
     
    220221     *  process should be completed 
    221222     */ 
    222     public static void notifyStartupCompleteWithId(char[] startupId) 
     223    public static void notifyStartupCompleteWithId(string startupId) 
    223224    { 
    224225        // void gdk_notify_startup_complete_with_id (const gchar *startup_id); 
     
    233234     * Returns:the program class. 
    234235     */ 
    235     public static char[] getProgramClass() 
     236    public static string getProgramClass() 
    236237    { 
    237238        // const char* gdk_get_program_class (void); 
    238         return Str.toString(gdk_get_program_class()).dup
     239        return Str.toString(gdk_get_program_class())
    239240    } 
    240241     
     
    246247     * programClass = a string. 
    247248     */ 
    248     public static void setProgramClass(char[] programClass) 
     249    public static void setProgramClass(string programClass) 
    249250    { 
    250251        // void gdk_set_program_class (const char *program_class); 
     
    257258     * Returns:the name of the display. 
    258259     */ 
    259     public static char[] getDisplay() 
     260    public static string getDisplay() 
    260261    { 
    261262        // gchar* gdk_get_display (void); 
    262         return Str.toString(gdk_get_display()).dup
     263        return Str.toString(gdk_get_display())
    263264    } 
    264265