summaryrefslogtreecommitdiffstats
path: root/lasso/xml/lib_subject.c
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-04-17 02:07:23 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-04-17 02:07:23 +0000
commita672abf9cc50aa34073e1d28cd2ebf61aba4cf46 (patch)
tree36270c22ed0a354cfc066b901ae89054d12c6ee5 /lasso/xml/lib_subject.c
parent68512d1070087d107d8e350e4fe11a70a02b82b5 (diff)
downloadlasso-a672abf9cc50aa34073e1d28cd2ebf61aba4cf46.tar.gz
lasso-a672abf9cc50aa34073e1d28cd2ebf61aba4cf46.tar.xz
lasso-a672abf9cc50aa34073e1d28cd2ebf61aba4cf46.zip
Used new method set_ns() instead of new_ns() (in *_instance_init() methods)
Diffstat (limited to 'lasso/xml/lib_subject.c')
-rw-r--r--lasso/xml/lib_subject.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/lasso/xml/lib_subject.c b/lasso/xml/lib_subject.c
index 38314708..5e5c130e 100644
--- a/lasso/xml/lib_subject.c
+++ b/lasso/xml/lib_subject.c
@@ -60,13 +60,12 @@ lasso_lib_subject_set_idpProvidedNameIdentifier(LassoLibSubject *node,
/*****************************************************************************/
static void
-lasso_lib_subject_instance_init(LassoLibSubject *instance,
- LassoLibSubjectClass *klass) {
- LassoNode *node = LASSO_NODE(instance);
- LassoNodeClass *class = LASSO_NODE_GET_CLASS(node);
+lasso_lib_subject_instance_init(LassoLibSubject *node)
+{
+ LassoNodeClass *class = LASSO_NODE_GET_CLASS(LASSO_NODE(node));
- class->new_ns(node, "urn:liberty:iff:2003-08", "lib");
- class->set_name(node, "Subject");
+ class->set_ns(LASSO_NODE(node), lassoLibHRef, lassoLibPrefix);
+ class->set_name(LASSO_NODE(node), "Subject");
}
static void