mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
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:
parent
b31fdc5152
commit
8d9a983848
@ -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_set_error (error,
|
||||||
G_TYPELIB_ERROR,
|
G_TYPELIB_ERROR,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user