Don't segfault when <default> is missing
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Apr 2010 15:31:21 +0000 (11:31 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Apr 2010 15:49:12 +0000 (11:49 -0400)
commit4a605693fce718a81f809245be2ebad9978031ac
tree256787aa166d22a9ce9648b3dcdb32b671787c3f
parentccbafd0f14cca899c07cd6a630096125988be8a9
Don't segfault when <default> is missing

Also add a framework for schema compiler tests.

Fixes bug 616086.
gio/gschema-compile.c
gio/tests/Makefile.am
gio/tests/gschema-compile.c [new file with mode: 0644]
gio/tests/schema-tests/no-default/no-default.gschema.xml [new file with mode: 0644]