summaryrefslogtreecommitdiffstats
path: root/lasso/xml/is_text.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-01-24 09:33:40 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-01-24 09:33:40 +0000
commit33bbf7a7de2361ced173857827c88204326e6bb5 (patch)
tree5190e0ff3b0839a6fdf0922ad404535368fbbc03 /lasso/xml/is_text.c
parent7fc388abb3cebc81d12aad7ab2f12bbd82eb40d5 (diff)
downloadlasso-33bbf7a7de2361ced173857827c88204326e6bb5.tar.gz
lasso-33bbf7a7de2361ced173857827c88204326e6bb5.tar.xz
lasso-33bbf7a7de2361ced173857827c88204326e6bb5.zip
All: Fix missing field initializer problems
* lots of files: Explicitely set all field of initialized structures, in order to remove -Wno-missing-field-initilizers from needed compiler options when using -Wall -Wextra.
Diffstat (limited to 'lasso/xml/is_text.c')
-rw-r--r--lasso/xml/is_text.c9
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,