From 6087c1a763f19363789854525796e9e062043948 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 24 Nov 2008 16:22:16 +0000 Subject: Remove a warning, be less verbose on error on fundamental types. 2008-11-24 Johan Dahlin * girepository/gdump.c (dump_type): Remove a warning, be less verbose on error on fundamental types. svn path=/trunk/; revision=963 --- ChangeLog | 7 ++++++- girepository/gdump.c | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55299ffd..ca93f70e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-24 Johan Dahlin + + * girepository/gdump.c (dump_type): Remove a warning, + be less verbose on error on fundamental types. + 2008-11-23 Johan Dahlin * giscanner/dumper.py: Add license headers, @@ -5,7 +10,7 @@ extra pedantic checks. 2008-11-23 Johan Dahlin - + Make it compilable with -Werror on my system by adding a couple of prototypes and including headers. diff --git a/girepository/gdump.c b/girepository/gdump.c index 9c0c083d..23650bec 100644 --- a/girepository/gdump.c +++ b/girepository/gdump.c @@ -274,7 +274,11 @@ dump_type (GType type, const char *symbol, GOutputStream *out) /* GValue, etc. Just skip them. */ break; default: - g_warning ("unhandled gtype %s", g_type_name (type)); + /* Other fundamental types such as the once GStreamer and Clutter registers + * are not yet interesting from an introspection perspective and should be + * ignored + */ + break; } } -- cgit v1.2.1