[gxml] * note possible null return value.



commit 0c45b614f4006be36b3931369de118abcb1614a7
Author: Richard Schwarting <aquarichy gmail com>
Date:   Sat Sep 24 02:22:21 2011 -0400

    * note possible null return value.

 gxml/Element.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gxml/Element.vala b/gxml/Element.vala
index 1f190ac..71f0d00 100644
--- a/gxml/Element.vala
+++ b/gxml/Element.vala
@@ -226,7 +226,7 @@ namespace GXml.Dom {
 		 *
 		 * @param name The name of the Attr node to retrieve.
 		 *
-		 * @return The Attr node named by name for this element.
+		 * @return The Attr node named by name for this element, or null if none is set.
 		 */
 		public Attr? get_attribute_node (string name) {
 			// TODO: verify that attributes returns null with unknown name



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