summaryrefslogtreecommitdiff
path: root/girepository
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-11 12:40:15 -0400
committerColin Walters <walters@verbum.org>2010-10-11 12:41:40 -0400
commit674f1664a7246f968535d4777a81cafa6130ccdc (patch)
treeebdee8bf91082925af8986a2ee8dfbd72facf252 /girepository
parentb89a110fdd9f6a0c4c0291a6016cb154bb715b0a (diff)
downloadgobject-introspection-674f1664a7246f968535d4777a81cafa6130ccdc.tar.gz
typelib: Don't fail on minor versiong-i-0.9
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.
Diffstat (limited to 'girepository')
-rw-r--r--girepository/gitypelib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c
index 9e818b99..cab697a2 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,