mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
libgimp: fix s/m_float/m_enum/ for GP_PARAM_DEF_TYPE_ENUM.
This commit is contained in:
parent
89feeecc96
commit
026cc0f149
1 changed files with 1 additions and 1 deletions
|
@ -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->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_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)
|
else if (pspec_type == G_TYPE_PARAM_BOOLEAN)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue