diff options
Diffstat (limited to 'lasso/xml/is_text.c')
-rw-r--r-- | lasso/xml/is_text.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lasso/xml/is_text.c b/lasso/xml/is_text.c index 2367dd2c..50de2ba0 100644 --- a/lasso/xml/is_text.c +++ b/lasso/xml/is_text.c @@ -51,10 +51,10 @@ /*****************************************************************************/ static struct XmlSnippet schema_snippets[] = { - { "minChars", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, minChars) }, - { "maxChars", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, maxChars) }, - { "format", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, format) }, - { NULL, 0, 0} + { "minChars", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, minChars), NULL, NULL, NULL}, + { "maxChars", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, maxChars), NULL, NULL, NULL}, + { "format", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, format), NULL, NULL, NULL}, + {NULL, 0, 0, NULL, NULL, NULL} }; /*****************************************************************************/ @@ -96,6 +96,7 @@ lasso_is_text_get_type() sizeof(LassoIsText), 0, (GInstanceInitFunc) instance_init, + NULL }; this_type = g_type_register_static(LASSO_TYPE_NODE, |