[gxml] * make version parametre default to null



commit 1292d44dcb21b321af11da80e9f4398f3e53dbca
Author: Richard Schwarting <aquarichy gmail com>
Date:   Mon Jul 25 17:17:51 2011 -0400

    * make version parametre default to null

 gxml/Implementation.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gxml/Implementation.vala b/gxml/Implementation.vala
index 6dec3cd..c02dd43 100644
--- a/gxml/Implementation.vala
+++ b/gxml/Implementation.vala
@@ -21,7 +21,7 @@ namespace GXml.Dom {
 		 *
 		 * @return true if we support the specified feature, false otherwise.
 		 */
-		public bool has_feature (string feature, string? version) {
+		public bool has_feature (string feature, string? version = null) {
 			/* Level 1 is limited to "xml" and "html" (icase) */
 			switch (feature) {
 			case "xml": // TODO find better way to handle case insensitivity



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