When I try to pass some boolean values to Liststore constructor it was giving a warning message.
auto model = new ListStore([GType.STRING, GType.BOOLEAN, GType.BOOLEAN]);
void addOs(string isim, bool toggle, bool radio)
{
TreeIter iterator = model.createIter();
model.setValue(iterator, 0, isim);
model.setValue(iterator, 1, new Value(toggle));
model.setValue(iterator, 2, new Value(radio));
}
addOs("Debian", false, true);
addOs("Ubuntu", true, false);
addOs("Bodhi linux", false, false);
So I added a constructor to the /gobject/Value.d file for bool values like this.
this(bool value)
{
this();
init(GType.BOOLEAN);
setBoolean(value);
}