tests: Do not init the default value

The call to g_param_value_set_default() will do that for us, now.
This commit is contained in:
Emmanuele Bassi 2019-10-26 14:06:31 +01:00
parent f7824da85f
commit ca1dbb38d8

View File

@ -29,7 +29,6 @@ check_property (const char *output,
if (g_param_value_defaults (pspec, value))
return;
g_value_init (&default_value, G_PARAM_SPEC_VALUE_TYPE (pspec));
g_param_value_set_default (pspec, &default_value);
v = g_strdup_value_contents (value);