add FT_Int32 add XftFont Report errors when an invalid type is encountered

2009-01-15  Johan Dahlin  <jdahlin@async.com.br>

	* gir/freetype2-2.0.gir: add FT_Int32
	* gir/xft-2.0.gir: add XftFont
	* girepository/gdump.c (g_irepository_dump):
	Report errors when an invalid type is encountered
	* giscanner/glibtransformer.py:
	Make the error message a bit nicer.

	Part of preparating for gir generating inside pango.


svn path=/trunk/; revision=1050
This commit is contained in:
Johan Dahlin 2009-01-16 00:42:22 +00:00 committed by Johan Dahlin
parent 9bf5ee61a4
commit 40e6b94790

View File

@ -362,7 +362,8 @@ g_irepository_dump (const char *arg, GError **error)
if (type == G_TYPE_INVALID) if (type == G_TYPE_INVALID)
{ {
caught_error = TRUE; g_printerr ("Invalid GType: '%s'\n", line);
caught_error = TRUE;
g_free (line); g_free (line);
break; break;
} }