mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +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))
|
if (g_param_value_defaults (pspec, value))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
g_value_init (&default_value, G_PARAM_SPEC_VALUE_TYPE (pspec));
|
|
||||||
g_param_value_set_default (pspec, &default_value);
|
g_param_value_set_default (pspec, &default_value);
|
||||||
|
|
||||||
v = g_strdup_value_contents (value);
|
v = g_strdup_value_contents (value);
|
||||||
|
Loading…
Reference in New Issue
Block a user