From 8d9a9838487c68fc5b6f35ecf2d9582137333fae Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 11 Oct 2010 12:40:15 -0400 Subject: [PATCH] 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. --- gitypelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitypelib.c b/gitypelib.c index 9e818b999..cab697a25 100644 --- a/gitypelib.c +++ b/gitypelib.c @@ -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,