summaryrefslogtreecommitdiff
path: root/girepository/gdump.c
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@async.com.br>2009-01-16 00:42:22 +0000
committerJohan Dahlin <johan@src.gnome.org>2009-01-16 00:42:22 +0000
commita6d38875443fce68217bb1406e77a09c7978b7fb (patch)
tree061b98a00b440f17767f589b41be69423d737700 /girepository/gdump.c
parent743af7e809b9ce2a304320f378f071e18fcb15d8 (diff)
downloadgobject-introspection-a6d38875443fce68217bb1406e77a09c7978b7fb.tar.gz
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
Diffstat (limited to 'girepository/gdump.c')
-rw-r--r--girepository/gdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/girepository/gdump.c b/girepository/gdump.c
index 23650bec..519672aa 100644
--- a/girepository/gdump.c
+++ b/girepository/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;
}