glib/tests/gobject
Ryan Lortie c2055f22f4 gtype: disallow adding interfaces after the fact
Add a check to prevent adding an interface to a class that has already
had its class_init done.

This is an incompatible change but it is suspected that there are not
many users of this functionality.  Two known exceptions are pygobject
(fixed in bug 686149) and our own testsuite (affected tests have been
temporarily disabled by this patch).

Once we confirm that nobody else is using this functionality we can
remove a rather large amount of code for dealing with this case.

https://bugzilla.gnome.org/show_bug.cgi?id=687659
2013-01-04 21:20:04 +01:00
..
.gitignore add performance tests to gitignore 2010-02-10 13:59:35 -05:00
accumulator.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
defaultiface.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
deftype.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
dynamictype.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
gvalue-test.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
ifacecheck.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
ifaceinherit.c Fix more void prototypes in tests 2012-11-02 16:14:11 +00:00
ifaceinit.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
Makefile.am gtype: disallow adding interfaces after the fact 2013-01-04 21:20:04 +01:00
override.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
paramspec-test.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
performance-threaded.c Remove g_type_init() calls 2012-10-16 09:39:24 -04:00
performance.c Fix more void prototypes in tests 2012-11-02 16:14:11 +00:00
references.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
run-performance.sh Remove additional thread support in performance test 2010-01-13 10:24:09 +01:00
singleton.c Predeclare more things in tests 2012-11-02 16:14:09 +00:00
testcommon.h Do not use static GTypeInfo and GInterfaceInfo 2011-11-29 22:03:25 -05:00
testmarshal.list Add g_value_take_variant 2010-06-19 19:07:36 +02:00
testmodule.c Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00
testmodule.h Dummy dynamic type module for testing type plugin code and dynamic types. 2003-09-29 14:54:39 +00:00