Changeset 346
- Timestamp:
- 12/29/07 17:52:31 (1 year ago)
- Files:
-
- trunk/src/gobject/ObjectG.d (modified) (2 diffs)
- trunk/src/gtk/Widget.d (modified) (2 diffs)
- trunk/wrap/APILookupGObject.txt (modified) (2 diffs)
- trunk/wrap/APILookupGtk.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/gobject/ObjectG.d
r335 r346 178 178 { 179 179 //writefln("setData objectG=%X data=%X type %s",gObject,data,key); 180 version(Tango) gc.addRoot(data);180 version(Tango) GC.addRoot(data); 181 181 else std.gc.addRoot(data); 182 182 g_object_set_data_full(gObject, Str.toStringz(key), data, cast(GDestroyNotify)&destroyNotify); … … 190 190 //writefln("objectg.destroy"); 191 191 //writefln("removing gc.root to %s",data); 192 version(Tango) gc.removeRoot(data);192 version(Tango) GC.removeRoot(data); 193 193 else std.gc.removeRoot(data); 194 194 //writefln("objectg.destroy exit"); trunk/src/gtk/Widget.d
r335 r346 320 320 } 321 321 322 version(Tango) import tango.text.convert.Integer;322 version(Tango)static import tango.text.convert.Integer; 323 323 324 324 /** … … 336 336 new PgFontDescription( 337 337 PgFontDescription.fromString( 338 family ~ " " ~ itoa(s,size)338 family ~ " " ~ tango.text.convert.Integer.itoa(s,size) 339 339 ) 340 340 ) trunk/wrap/APILookupGObject.txt
r337 r346 188 188 { 189 189 //writefln("setData objectG=%X data=%X type %s",gObject,data,key); 190 version(Tango) gc.addRoot(data);190 version(Tango) GC.addRoot(data); 191 191 else std.gc.addRoot(data); 192 192 g_object_set_data_full(gObject, Str.toStringz(key), data, cast(GDestroyNotify)&destroyNotify); … … 200 200 //writefln("objectg.destroy"); 201 201 //writefln("removing gc.root to %s",data); 202 version(Tango) gc.removeRoot(data);202 version(Tango) GC.removeRoot(data); 203 203 else std.gc.removeRoot(data); 204 204 //writefln("objectg.destroy exit"); trunk/wrap/APILookupGtk.txt
r334 r346 5571 5571 } 5572 5572 5573 version(Tango) import tango.text.convert.Integer;5573 version(Tango)static import tango.text.convert.Integer; 5574 5574 5575 5575 /** … … 5587 5587 new PgFontDescription( 5588 5588 PgFontDescription.fromString( 5589 family ~ " " ~ itoa(s,size)5589 family ~ " " ~ tango.text.convert.Integer.itoa(s,size) 5590 5590 ) 5591 5591 )
