libgimp: fix #9304 API TextLayer

Adds needed change missing in commit that added class GimpTextLayer
This commit is contained in:
bootchk 2023-06-08 07:18:14 -04:00 committed by Jehan
parent da0ea189fc
commit ef662fa02a
1 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,11 @@ _gimp_gp_param_def_to_param_spec (const GPParamDef *param_def)
param_def->meta.m_id.none_ok,
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"))
return gimp_param_spec_channel (name, nick, blurb,
param_def->meta.m_id.none_ok,