From 40e6b947905063aca5bd6aff9ba24444c55990af Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Fri, 16 Jan 2009 00:42:22 +0000 Subject: [PATCH] add FT_Int32 add XftFont Report errors when an invalid type is encountered 2009-01-15 Johan Dahlin * 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 --- gdump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gdump.c b/gdump.c index 23650becd..519672aa7 100644 --- a/gdump.c +++ b/gdump.c @@ -362,7 +362,8 @@ g_irepository_dump (const char *arg, GError **error) if (type == G_TYPE_INVALID) { - caught_error = TRUE; + g_printerr ("Invalid GType: '%s'\n", line); + caught_error = TRUE; g_free (line); break; }