LassoSamlp2IDPList is not list capable
LassoSamlp2IDPList is supposed to handle a list of LassoSamlp2IDPEntry but in fact it had no list support. Change the snippet flag SNIPPET_NODE to SNIPPET_LIST_NODES and add the special list comment on the struct member so that the binding generator knows what type of GList it is. Signed-off-by: John Dennis <jdennis@redhat.com> License: MIT
This commit is contained in:
parent
9629925c1e
commit
ad3751f2b0
|
@ -47,7 +47,7 @@
|
|||
|
||||
|
||||
static struct XmlSnippet schema_snippets[] = {
|
||||
{ "IDPEntry", SNIPPET_NODE,
|
||||
{ "IDPEntry", SNIPPET_LIST_NODES,
|
||||
G_STRUCT_OFFSET(LassoSamlp2IDPList, IDPEntry), NULL, NULL, NULL},
|
||||
{ "GetComplete", SNIPPET_CONTENT,
|
||||
G_STRUCT_OFFSET(LassoSamlp2IDPList, GetComplete), NULL, NULL, NULL},
|
||||
|
|
|
@ -54,7 +54,7 @@ struct _LassoSamlp2IDPList {
|
|||
|
||||
/*< public >*/
|
||||
/* elements */
|
||||
LassoSamlp2IDPEntry *IDPEntry;
|
||||
GList *IDPEntry; /* of LassoSamlp2IDPEntry */
|
||||
char *GetComplete;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue