gobject-introspection r310 - branches/gir-compiler/tools
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r310 - branches/gir-compiler/tools
- Date: Thu, 7 Aug 2008 12:09:29 +0000 (UTC)
Author: johan
Date: Thu Aug 7 12:09:29 2008
New Revision: 310
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=310&view=rev
Log:
clean up missing attribute confusion for boxed types
Modified:
branches/gir-compiler/tools/girparser.c
Modified: branches/gir-compiler/tools/girparser.c
==============================================================================
--- branches/gir-compiler/tools/girparser.c (original)
+++ branches/gir-compiler/tools/girparser.c Thu Aug 7 12:09:29 2008
@@ -427,8 +427,10 @@
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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]