typelib: Don't fail on minor version

Previously we bombed out if the minor version didn't match what
we expected; this was silly since the whole point of the minor
version is to enumerate compatible changes.
This commit is contained in:
Colin Walters 2010-10-11 12:40:15 -04:00
parent b31fdc5152
commit 8d9a983848

View File

@ -288,7 +288,7 @@ validate_header_basic (const guint8 *memory,
}
if (header->major_version != 4 || header->minor_version != 0)
if (header->major_version != 4)
{
g_set_error (error,
G_TYPELIB_ERROR,