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:
parent
887da70933
commit
a45c5844dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue