Changeset 346

Show
Ignore:
Timestamp:
12/29/07 17:52:31 (1 year ago)
Author:
Mike Wey
Message:

Tango fixes - eliminates tango.diff from ticked #9

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/gobject/ObjectG.d

    r335 r346  
    178178    { 
    179179        //writefln("setData objectG=%X data=%X type %s",gObject,data,key); 
    180         version(Tango) gc.addRoot(data); 
     180        version(Tango) GC.addRoot(data); 
    181181        else std.gc.addRoot(data); 
    182182        g_object_set_data_full(gObject, Str.toStringz(key), data, cast(GDestroyNotify)&destroyNotify); 
     
    190190            //writefln("objectg.destroy"); 
    191191            //writefln("removing gc.root to %s",data); 
    192             version(Tango) gc.removeRoot(data); 
     192            version(Tango) GC.removeRoot(data); 
    193193            else std.gc.removeRoot(data); 
    194194            //writefln("objectg.destroy exit"); 
  • trunk/src/gtk/Widget.d

    r335 r346  
    320320    } 
    321321     
    322     version(Tango)import tango.text.convert.Integer; 
     322    version(Tango)static import tango.text.convert.Integer; 
    323323     
    324324    /** 
     
    336336            new PgFontDescription( 
    337337            PgFontDescription.fromString( 
    338             family ~ " " ~ itoa(s,size) 
     338            family ~ " " ~ tango.text.convert.Integer.itoa(s,size) 
    339339            ) 
    340340            ) 
  • trunk/wrap/APILookupGObject.txt

    r337 r346  
    188188    { 
    189189        //writefln("setData objectG=%X data=%X type %s",gObject,data,key); 
    190         version(Tango) gc.addRoot(data); 
     190        version(Tango) GC.addRoot(data); 
    191191        else std.gc.addRoot(data); 
    192192        g_object_set_data_full(gObject, Str.toStringz(key), data, cast(GDestroyNotify)&destroyNotify); 
     
    200200            //writefln("objectg.destroy"); 
    201201            //writefln("removing gc.root to %s",data); 
    202             version(Tango) gc.removeRoot(data); 
     202            version(Tango) GC.removeRoot(data); 
    203203            else std.gc.removeRoot(data); 
    204204            //writefln("objectg.destroy exit"); 
  • trunk/wrap/APILookupGtk.txt

    r334 r346  
    55715571    } 
    55725572 
    5573     version(Tango)import tango.text.convert.Integer; 
     5573    version(Tango)static import tango.text.convert.Integer; 
    55745574 
    55755575    /** 
     
    55875587                new PgFontDescription( 
    55885588                        PgFontDescription.fromString( 
    5589                             family ~ " " ~ itoa(s,size) 
     5589                            family ~ " " ~ tango.text.convert.Integer.itoa(s,size) 
    55905590                        ) 
    55915591                )