diff dwt/widgets/ExpandItem.d @ 255:5a30aa9820f3

removed tango.stdc.stringz imports and allow null for arrays and string arguments.
author Frank Benoit <benoit@tionex.de>
date Sun, 15 Jun 2008 22:32:20 +0200
parents ce446666f5a2
children c0d810de7093
line wrap: on
line diff
--- a/dwt/widgets/ExpandItem.d	Sun Jun 08 15:11:48 2008 +0200
+++ b/dwt/widgets/ExpandItem.d	Sun Jun 15 22:32:20 2008 +0200
@@ -31,7 +31,6 @@
 import dwt.widgets.Event;
 
 import Math = tango.math.Math;
-static import tango.stdc.stringz;
 
 /**
  * Instances of this class represent a selectable user interface object
@@ -606,7 +605,7 @@
 public override void setText (String string) {
     super.setText (string);
     if (OS.GTK_VERSION >= OS.buildVERSION (2, 4, 0)) {
-        OS.gtk_label_set_text (labelHandle, tango.stdc.stringz.toStringz(string));
+        OS.gtk_label_set_text (labelHandle, toStringz(string));
     } else {
         redraw ();
     }