Mercurial > projects > dwt-mac
diff dwt/graphics/Device.d @ 5:1a8b3cb347e0
Fix Ctors to 'this'
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:02:31 +0200 |
parents | ab8b5765e3d1 |
children | e831403a80a9 |
line wrap: on
line diff
--- a/dwt/graphics/Device.d Wed Aug 27 13:51:50 2008 +0200 +++ b/dwt/graphics/Device.d Wed Aug 27 14:02:31 2008 +0200 @@ -94,7 +94,7 @@ * * @since 3.1 */ -public Device() { +public this() { this(null); } @@ -110,7 +110,7 @@ * @see #init * @see DeviceData */ -public Device(DeviceData data) { +public this(DeviceData data) { synchronized (Device.class) { if (data !is null) { debug = data.debug;