diff options
author | Colin Walters <walters@verbum.org> | 2010-07-08 14:20:40 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-07-09 14:15:52 -0400 |
commit | 07a36b499a7db6c65132511dc43f6acd281100ec (patch) | |
tree | 7a0943373c833d1d19b21c188399693c77dedcce /girepository/gitypelib.c | |
parent | 48c3961683846291bcaf70c555bf791cbf36d7fd (diff) | |
download | gobject-introspection-07a36b499a7db6c65132511dc43f6acd281100ec.tar.gz |
Bump shared library version, typelib version
https://bugzilla.gnome.org/show_bug.cgi?id=623774
Diffstat (limited to 'girepository/gitypelib.c')
-rw-r--r-- | girepository/gitypelib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c index 74aa7edd..06a38d24 100644 --- a/girepository/gitypelib.c +++ b/girepository/gitypelib.c @@ -288,12 +288,13 @@ validate_header (ValidateContext *ctx, } - if (header->major_version != 2 || header->minor_version != 0) + if (header->major_version != 3 || header->minor_version != 0) { g_set_error (error, G_TYPELIB_ERROR, G_TYPELIB_ERROR_INVALID_HEADER, - "Version mismatch"); + "Version mismatch; expected 3, found %d", + header->major_version); return FALSE; } |