diff options
author | Johan Dahlin <johan@src.gnome.org> | 2008-08-07 12:09:29 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-08-07 12:09:29 +0000 |
commit | 98ae37bb5e8dcf745a4897f35ecd036001fa9a12 (patch) | |
tree | b71fb8160d0199db1e9a05356693cc488402e6c9 /tools/girparser.c | |
parent | 490b0ea4ab3d759803ae27995ffdbd5afe06695c (diff) | |
download | gobject-introspection-98ae37bb5e8dcf745a4897f35ecd036001fa9a12.tar.gz |
clean up missing attribute confusion for boxed types
svn path=/branches/gir-compiler/; revision=310
Diffstat (limited to 'tools/girparser.c')
-rw-r--r-- | tools/girparser.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/girparser.c b/tools/girparser.c index 04306dce..d851d1c1 100644 --- a/tools/girparser.c +++ b/tools/girparser.c @@ -427,8 +427,10 @@ start_glib_boxed (GMarkupParseContext *context, deprecated = find_attribute ("deprecated", attribute_names, attribute_values); if (name == NULL) - MISSING_ATTRIBUTE (context, error, element_name, "name"); - else if (typename == NULL || typeinit == NULL) + MISSING_ATTRIBUTE (context, error, element_name, "glib:name"); + else if (typename == NULL) + MISSING_ATTRIBUTE (context, error, element_name, "glib:type-name"); + else if (typeinit == NULL) MISSING_ATTRIBUTE (context, error, element_name, "glib:get-type"); else { |