mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
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:
parent
f7824da85f
commit
ca1dbb38d8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user