Commit 832e7faf authored by Michael Natterer's avatar Michael Natterer 😴

libgimpconfig: gimp_config_param_spec_duplicate() support GFile

object param specs.
parent ccc8224a
......@@ -320,6 +320,17 @@ gimp_config_param_spec_duplicate (GParamSpec *pspec)
flags);
}
}
else if (G_IS_PARAM_SPEC_OBJECT (pspec))
{
GType value_type = G_PARAM_SPEC_VALUE_TYPE (pspec);
if (value_type == G_TYPE_FILE)
{
copy = g_param_spec_object (name, nick, blurb,
value_type,
flags);
}
}
if (copy)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment