girparser: use c:identifier-prefixes instead of c:prefix
authorSerkan Kaba <serkan@gentoo.org>
Sun, 20 Mar 2011 01:00:22 +0000 (03:00 +0200)
committerColin Walters <walters@verbum.org>
Sat, 26 Mar 2011 16:18:40 +0000 (12:18 -0400)
This bug was introduced with
http://git.gnome.org/browse/gobject-introspection/commit/?id=36aa515f1036978ced8d4ffb808260844f7229e0
due to rename of c:prefix to c:identifier-prefixes.

https://bugzilla.gnome.org/show_bug.cgi?id=640264

girepository/girparser.c

index e32acc0..f7269b9 100644 (file)
@@ -2884,7 +2884,7 @@ start_element_handler (GMarkupParseContext *context,
          name = find_attribute ("name", attribute_names, attribute_values);
          version = find_attribute ("version", attribute_names, attribute_values);
          shared_library = find_attribute ("shared-library", attribute_names, attribute_values);
-         cprefix = find_attribute ("c:prefix", attribute_names, attribute_values);
+         cprefix = find_attribute ("c:identifier-prefixes", attribute_names, attribute_values);
 
          if (name == NULL)
            MISSING_ATTRIBUTE (context, error, element_name, "name");