From b4189be2b2d3c350fdf33e27309bee5a72e4f72a Mon Sep 17 00:00:00 2001 From: Simon van der Linden Date: Fri, 8 Jan 2010 20:33:44 +0100 Subject: Don't set a default constructor for structures. Update tests accordingly. The reason for this change is that setting __new__ in the metaclass doesn't let one overrides it afterwards, in a subclass (in my experience, at least, even though it seems weird). https://bugzilla.gnome.org/show_bug.cgi?id=603536 --- tests/libtestgi.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests/libtestgi.h') diff --git a/tests/libtestgi.h b/tests/libtestgi.h index db12fd3..1620096 100644 --- a/tests/libtestgi.h +++ b/tests/libtestgi.h @@ -542,13 +542,6 @@ void test_gi__pointer_struct_out (TestGIPointerStruct **struct_); void test_gi__pointer_struct_inout (TestGIPointerStruct **struct_); -typedef struct { - glong long_; -} TestGIBoxedWithoutConstructorStruct; - -GType test_gi_boxed_without_constructor_struct_get_type (void) G_GNUC_CONST; - - typedef struct { glong long_; } TestGIBoxedStruct; -- cgit