mirror of https://github.com/GNOME/gimp.git
libgimp: fix #9304 API TextLayer
Adds needed change missing in commit that added class GimpTextLayer
This commit is contained in:
parent
da0ea189fc
commit
ef662fa02a
|
@ -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…
Reference in New Issue