From ea99326529258d168f685d9909d10da4a047a5d0 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 3 Oct 2008 19:30:12 +0000 Subject: [PATCH] Merge branch 'bug551744-boxed-ctors' svn path=/trunk/; revision=654 --- gtypelib.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtypelib.c b/gtypelib.c index 983c6954d..9a2e73c56 100644 --- a/gtypelib.c +++ b/gtypelib.c @@ -738,6 +738,8 @@ validate_function_blob (ValidateContext *ctx, switch (container_type) { case BLOB_TYPE_BOXED: + case BLOB_TYPE_STRUCT: + case BLOB_TYPE_UNION: case BLOB_TYPE_OBJECT: case BLOB_TYPE_INTERFACE: is_method = !(blob->constructor || blob->setter || blob->getter || blob->wraps_vfunc); @@ -751,6 +753,8 @@ validate_function_blob (ValidateContext *ctx, switch (container_type) { case BLOB_TYPE_BOXED: + case BLOB_TYPE_STRUCT: + case BLOB_TYPE_UNION: case BLOB_TYPE_OBJECT: case BLOB_TYPE_INTERFACE: break;