mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
libgimp: fix #9304 API TextLayer
Adds needed change missing in commit that added class GimpTextLayer
This commit is contained in:
parent
da0ea189fc
commit
ef662fa02a
1 changed files with 5 additions and 0 deletions
|
@ -177,6 +177,11 @@ _gimp_gp_param_def_to_param_spec (const GPParamDef *param_def)
|
||||||
param_def->meta.m_id.none_ok,
|
param_def->meta.m_id.none_ok,
|
||||||
flags);
|
flags);
|
||||||
|
|
||||||
|
if (! strcmp (param_def->type_name, "GimpParamTextLayer"))
|
||||||
|
return gimp_param_spec_text_layer (name, nick, blurb,
|
||||||
|
param_def->meta.m_id.none_ok,
|
||||||
|
flags);
|
||||||
|
|
||||||
if (! strcmp (param_def->type_name, "GimpParamChannel"))
|
if (! strcmp (param_def->type_name, "GimpParamChannel"))
|
||||||
return gimp_param_spec_channel (name, nick, blurb,
|
return gimp_param_spec_channel (name, nick, blurb,
|
||||||
param_def->meta.m_id.none_ok,
|
param_def->meta.m_id.none_ok,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue