From 674f1664a7246f968535d4777a81cafa6130ccdc 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. --- girepository/gitypelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c index 9e818b9..cab697a 100644 --- a/girepository/gitypelib.c +++ b/girepository/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, -- 2.7.4