mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
Merge branch 'param-value-default' into 'master'
Allow using an empty GValue with g_param_value_set_default() See merge request GNOME/glib!1186
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user