SAML 2.0: LassoSaml2ConditionAbstract does not match its element name anymore, add a registry mapping

* lasso/xml/saml-2.0/saml2_condition_abstract.c:
   last commit to this file changed the element name from
   ConditionAbstract to Condition so the XML parser cannot find the
   corresponding GObject class anymore.
This commit is contained in:
Benjamin Dauvergne 2010-02-22 15:18:28 +00:00
parent 887da70933
commit a45c5844dd
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@
*/
#include "../private.h"
#include "../../registry.h"
#include "saml2_condition_abstract.h"
/**
@ -74,6 +75,8 @@ class_init(LassoSaml2ConditionAbstractClass *klass)
lasso_node_class_set_nodename(nclass, "Condition");
lasso_node_class_set_ns(nclass, LASSO_SAML2_ASSERTION_HREF, LASSO_SAML2_ASSERTION_PREFIX);
lasso_node_class_add_snippets(nclass, schema_snippets);
lasso_registry_default_add_direct_mapping(LASSO_SAML2_ASSERTION_HREF, "Condition",
LASSO_LASSO_HREF, "LassoSaml2ConditionAbstract");
}
GType