Correctly cast to a CommonBlob when looking up embedded types
authorColin Walters <walters@verbum.org>
Thu, 7 Jan 2010 21:12:15 +0000 (16:12 -0500)
committerColin Walters <walters@verbum.org>
Tue, 12 Jan 2010 22:13:10 +0000 (17:13 -0500)
commite7b9f873f0152136af60753598077156e7ae1545
treee882b6c4db84a68f5dfacae68094e8f3223fda1b
parent95376a93bc6df5a1385e719b6a37304ba6925c72
Correctly cast to a CommonBlob when looking up embedded types

When looking at an embedded type (e.g. a Callback after a Field), the
offset we put in the info structure was to the CallbackBlob itself.

However the code in g_type_info_get_interface assumed that the offset
was to a SimpleTypeBlob, which it wasn't.

https://bugzilla.gnome.org/show_bug.cgi?id=606180
girepository/ginfo.c