diff options
Diffstat (limited to 'tools/generate-settings-spec.c')
-rw-r--r-- | tools/generate-settings-spec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate-settings-spec.c b/tools/generate-settings-spec.c index 5281dcbf3e..76d97cf383 100644 --- a/tools/generate-settings-spec.c +++ b/tools/generate-settings-spec.c @@ -138,7 +138,7 @@ write_one_setting (FILE *f, gboolean book, SettingNewFunc func) const char *key_name, *value_type, *value_desc; char *default_value; TypeNameElement *name_iter; - GValue value = { 0, }; + GValue value = G_VALUE_INIT; char *flags_str = NULL; value_type = g_type_name (G_PARAM_SPEC_VALUE_TYPE (*iter)); |