Make g_type_interface_prerequisites() only return one instantiable type
authorBenjamin Otte <otte@redhat.com>
Wed, 17 Feb 2010 07:45:28 +0000 (08:45 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 17 Feb 2010 07:55:14 +0000 (08:55 +0100)
commit63a6666ab7a54c9584b6579e323301f3528e86b3
tree5d9f28dae2973fd2fea8fc330638de43e89515b0
parent9fdbae9344a04479ccb601ebd4ae2c709e7856d9
Make g_type_interface_prerequisites() only return one instantiable type

Previously, the code had a heisenbug and could potentially return
superclasses, too. In fact, it was based on the behavior of malloc.

https://bugzilla.redhat.com/show_bug.cgi?id=554678
gobject/gtype.c