mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
libgimpconfig: gimp_config_param_spec_duplicate() support GFile
object param specs.
This commit is contained in:
parent
ccc8224aa9
commit
832e7fafc1
1 changed files with 11 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue