typo in recent cpp API improvements

We had G_VALUE_TYPE instead of G_OBJECT_TYPE, oops. Thanks @lovell.

see https://github.com/libvips/libvips/pull/1812
This commit is contained in:
John Cupitt 2020-09-14 13:10:00 +01:00
parent f116d0b8e2
commit 5faf9a6326
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ VOption::set( const char *name, const VObject value )
{
Pair *pair = new Pair( name );
VipsObject *object = value.get_object();
GType type = G_VALUE_TYPE( object );
GType type = G_OBJECT_TYPE( object );
pair->input = true;
g_value_init( &pair->value, type );