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:
parent
f116d0b8e2
commit
5faf9a6326
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user