generator: Remove unused field in Constant class

This commit is contained in:
Bertrand Lorentz 2013-10-10 23:43:55 +02:00
parent 57938c321e
commit 46068e7add

View file

@ -25,14 +25,12 @@ namespace GtkSharp.Generation
{ {
public class Constant public class Constant
{ {
private readonly XmlElement elem;
private readonly string name; private readonly string name;
private readonly string value; private readonly string value;
private readonly string ctype; private readonly string ctype;
public Constant (XmlElement elem) public Constant (XmlElement elem)
{ {
this.elem = elem;
this.name = elem.GetAttribute ("name"); this.name = elem.GetAttribute ("name");
this.value = elem.GetAttribute ("value"); this.value = elem.GetAttribute ("value");
this.ctype = elem.GetAttribute ("ctype"); this.ctype = elem.GetAttribute ("ctype");