[gxml] * access _attributes directly, rather than ultimately calling ourself (we know _attributes has been



commit 7121c79263126fb5e8813446375ae69d3f3abb44
Author: Richard Schwarting <aquarichy gmail com>
Date:   Tue Sep 20 16:14:49 2011 -0400

    * access _attributes directly, rather than ultimately calling ourself (we know _attributes has been initialised because we initialised it here)

 gxml/Element.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gxml/Element.vala b/gxml/Element.vala
index 53f8986..27bc02e 100644
--- a/gxml/Element.vala
+++ b/gxml/Element.vala
@@ -96,7 +96,7 @@ namespace GXml.Dom {
 					
 					for (Xml.Attr *prop = base.node->properties; prop != null; prop = prop->next) {
 						attr = new Attr (prop, this.owner_document);
-						this.attributes.replace (prop->name, attr);
+						this._attributes.replace (prop->name, attr);
 					}
 				}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]