mirror of https://github.com/GNOME/gimp.git
app: fix signature of gimp_babl_is_bounded(). It returns a boolean.
This commit is contained in:
parent
a5657e4d28
commit
5a0f88e053
|
@ -820,7 +820,7 @@ gimp_babl_is_valid (GimpImageBaseType base_type,
|
||||||
g_return_val_if_reached (FALSE);
|
g_return_val_if_reached (FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
GimpComponentType
|
gboolean
|
||||||
gimp_babl_is_bounded (GimpPrecision precision)
|
gimp_babl_is_bounded (GimpPrecision precision)
|
||||||
{
|
{
|
||||||
switch (gimp_babl_component_type (precision))
|
switch (gimp_babl_component_type (precision))
|
||||||
|
|
|
@ -42,7 +42,7 @@ GimpPrecision gimp_babl_precision (GimpComponentType
|
||||||
|
|
||||||
gboolean gimp_babl_is_valid (GimpImageBaseType base_type,
|
gboolean gimp_babl_is_valid (GimpImageBaseType base_type,
|
||||||
GimpPrecision precision);
|
GimpPrecision precision);
|
||||||
GimpComponentType gimp_babl_is_bounded (GimpPrecision precision);
|
gboolean gimp_babl_is_bounded (GimpPrecision precision);
|
||||||
|
|
||||||
const Babl * gimp_babl_format (GimpImageBaseType base_type,
|
const Babl * gimp_babl_format (GimpImageBaseType base_type,
|
||||||
GimpPrecision precision,
|
GimpPrecision precision,
|
||||||
|
|
Loading…
Reference in New Issue