[gobject-introspection] gitypelib: Extend warning for validation



commit 8738b1e7eff70196ec7749e3f8dee13facdc3c54
Author: Colin Walters <walters verbum org>
Date:   Tue Nov 16 15:13:41 2010 -0500

    gitypelib: Extend warning for validation

 girepository/gitypelib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c
index e77866a..a0b74d3 100644
--- a/girepository/gitypelib.c
+++ b/girepository/gitypelib.c
@@ -647,7 +647,7 @@ validate_type_blob (GITypelib     *typelib,
 	  g_set_error (error,
 		       G_TYPELIB_ERROR,
 		       G_TYPELIB_ERROR_INVALID_BLOB,
-		       "Wrong tag in simple type");
+		       "Invalid non-basic tag %d in simple type", simple->flags.tag);
 	  return FALSE;
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]