From 5faf9a63261decd1ad0bab91ece25f873698381e Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 14 Sep 2020 13:10:00 +0100 Subject: [PATCH] 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 --- cplusplus/VImage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cplusplus/VImage.cpp b/cplusplus/VImage.cpp index 205326d2..3242c016 100644 --- a/cplusplus/VImage.cpp +++ b/cplusplus/VImage.cpp @@ -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 );