diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-04 09:14:27 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-04 09:14:27 +0000 |
| commit | 1ab3876d3e957c74498a175ffc8f5fcc1b920cd7 (patch) | |
| tree | 790be3112cdccada9410821fa6e4d72e15878024 | |
| parent | 1dece2447decac4efc6aa2aa1fa4008bcad3201c (diff) | |
ID-FF XML: in lib_assertion.c, add registry mapping for lib:AssertionType
* xml/lib_assertion.c:
this object is really a container for lib:AssertionType, so register
it.
| -rw-r--r-- | lasso/xml/lib_assertion.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lasso/xml/lib_assertion.c b/lasso/xml/lib_assertion.c index b00412c5..c15ccab6 100644 --- a/lasso/xml/lib_assertion.c +++ b/lasso/xml/lib_assertion.c @@ -24,6 +24,7 @@ #include "private.h" #include "lib_assertion.h" +#include "../registry.h" /** * SECTION:lib_assertion @@ -81,6 +82,8 @@ class_init(LassoLibAssertionClass *klass) lasso_node_class_set_nodename(nclass, "Assertion"); lasso_node_class_set_ns(nclass, LASSO_LIB_HREF, LASSO_LIB_PREFIX); lasso_node_class_add_snippets(nclass, schema_snippets); + lasso_registry_default_add_direct_mapping(LASSO_LIB_HREF, "AssertionType", + LASSO_LASSO_HREF, "LassoLibAssertion"); } GType |
