mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
app, libgimpcolor: no GValue GimpRGB anymore!
This commit is contained in:
parent
a50759cda8
commit
e7b7efafe9
2 changed files with 1 additions and 6 deletions
|
@ -206,11 +206,7 @@ gimp_g_value_get_memsize (GValue *value)
|
||||||
}
|
}
|
||||||
else if (G_VALUE_HOLDS_BOXED (value))
|
else if (G_VALUE_HOLDS_BOXED (value))
|
||||||
{
|
{
|
||||||
if (GIMP_VALUE_HOLDS_RGB (value))
|
if (GIMP_VALUE_HOLDS_MATRIX2 (value))
|
||||||
{
|
|
||||||
memsize += sizeof (GimpRGB);
|
|
||||||
}
|
|
||||||
else if (GIMP_VALUE_HOLDS_MATRIX2 (value))
|
|
||||||
{
|
{
|
||||||
memsize += sizeof (GimpMatrix2);
|
memsize += sizeof (GimpMatrix2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,6 @@ G_BEGIN_DECLS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define GIMP_TYPE_RGB (gimp_rgb_get_type ())
|
#define GIMP_TYPE_RGB (gimp_rgb_get_type ())
|
||||||
#define GIMP_VALUE_HOLDS_RGB(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_RGB))
|
|
||||||
|
|
||||||
GType gimp_rgb_get_type (void) G_GNUC_CONST;
|
GType gimp_rgb_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue