glib-compile-schemas: check for undefined refs
authorRyan Lortie <desrt@desrt.ca>
Fri, 8 Apr 2011 05:47:52 +0000 (01:47 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 8 Apr 2011 05:47:52 +0000 (01:47 -0400)
commit3498d58289ed833aeae59bfc76db0f5fa5840481
tree33e294a7aba3f83ac6e11ae2adead0b3d57aff31
parent4ece333afeb046b60eaa5fd512694e5c8f1587a6
glib-compile-schemas: check for undefined refs

For child schemas, verify that the named schema actually exists and
issue a warning if not.  This error in schema files will cause runtime
errors when iterating over the list of child schemas and attempting to
instantiate each one.

This will move from being merely a warning to a hard error in the
future.

Bug #646039.
gio/glib-compile-schemas.c