summaryrefslogtreecommitdiffstats
path: root/tests/libtestgi.h
diff options
context:
space:
mode:
authorSimon van der Linden <svdlinden@src.gnome.org>2010-01-08 20:33:44 +0100
committerSimon van der Linden <svdlinden@src.gnome.org>2010-01-08 20:33:44 +0100
commitb4189be2b2d3c350fdf33e27309bee5a72e4f72a (patch)
tree4647888a92fe7584ac99946ce343d2d88b5c3986 /tests/libtestgi.h
parent4db68b958ea11bd2c3a88067cae03fd6bdd1d24b (diff)
downloadpygi-b4189be2b2d3c350fdf33e27309bee5a72e4f72a.tar.gz
pygi-b4189be2b2d3c350fdf33e27309bee5a72e4f72a.tar.xz
pygi-b4189be2b2d3c350fdf33e27309bee5a72e4f72a.zip
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
Diffstat (limited to 'tests/libtestgi.h')
-rw-r--r--tests/libtestgi.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/libtestgi.h b/tests/libtestgi.h
index db12fd3..1620096 100644
--- a/tests/libtestgi.h
+++ b/tests/libtestgi.h
@@ -544,13 +544,6 @@ 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;
GType test_gi_boxed_struct_get_type (void) G_GNUC_CONST;