From 1292d44dcb21b321af11da80e9f4398f3e53dbca Mon Sep 17 00:00:00 2001 From: Richard Schwarting Date: Mon, 25 Jul 2011 17:17:51 -0400 Subject: [PATCH] * make version parametre default to null --- gxml/Implementation.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gxml/Implementation.vala b/gxml/Implementation.vala index 6dec3cd4..c02dd437 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 -- GitLab