From 99c0a674a45287e9d5458aaa4b91572a8dba2dd0 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Thu, 20 Dec 2018 16:44:52 +0000 Subject: [PATCH] fix typo in VIPS_ARG_POINTER thanks Fingolfin1196 ! see https://github.com/libvips/libvips/issues/1187 --- libvips/include/vips/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvips/include/vips/object.h b/libvips/include/vips/object.h index 269ad94c..82fdfd43 100644 --- a/libvips/include/vips/object.h +++ b/libvips/include/vips/object.h @@ -233,7 +233,7 @@ VIPS_ARGUMENT_OPTIONAL_OUTPUT Eg. the x pos of the image minimum \ pspec = g_param_spec_pointer( (NAME), (LONG), (DESC), \ (GParamFlags) (G_PARAM_READWRITE) ); \ - g_object_class_install_property( gobject_class, \ + g_object_class_install_property( G_OBJECT_CLASS( CLASS ), \ vips_argument_get_id(), pspec ); \ vips_object_class_install_argument( VIPS_OBJECT_CLASS( CLASS ), \ pspec, (VipsArgumentFlags) (FLAGS), (PRIORITY), (OFFSET) ); \