libgimp: fix s/m_float/m_enum/ for GP_PARAM_DEF_TYPE_ENUM.

This commit is contained in:
Jehan 2019-08-04 17:20:02 +02:00
parent 89feeecc96
commit 026cc0f149
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ _gimp_param_spec_to_gp_param_def (GParamSpec *pspec,
param_def->param_def_type = GP_PARAM_DEF_TYPE_ENUM;
param_def->meta.m_enum.type_name = (gchar *) g_type_name (enum_type);
param_def->meta.m_float.default_val = espec->default_value;
param_def->meta.m_enum.default_val = espec->default_value;
}
else if (pspec_type == G_TYPE_PARAM_BOOLEAN)
{