[gimp/wip/schumaml/issue-4417-gimp_param_object_array_get_type] libgimpbase: fix wrong sizeof in gimp_param_object_array_get_type



commit 0eb6ff41cfc243c8e6bb79a08b8e84393f1fb6bd
Author: Michael Schumacher <schumaml gmx de>
Date:   Tue Dec 31 14:35:39 2019 +0100

    libgimpbase: fix wrong sizeof in gimp_param_object_array_get_type
    
    Spotted by Massimo Valentini. Fixes issue #4417.

 libgimpbase/gimpparamspecs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimpbase/gimpparamspecs.c b/libgimpbase/gimpparamspecs.c
index 40135d4169..a9bdcc65b1 100644
--- a/libgimpbase/gimpparamspecs.c
+++ b/libgimpbase/gimpparamspecs.c
@@ -1332,7 +1332,7 @@ gimp_param_object_array_get_type (void)
         NULL, NULL,
         (GClassInitFunc) gimp_param_object_array_class_init,
         NULL, NULL,
-        sizeof (GimpParamSpecArray),
+        sizeof (GimpParamSpecObjectArray),
         0,
         (GInstanceInitFunc) gimp_param_object_array_init
       };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]