[gobject-introspection] Revert scanner fix in 64f3832
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Revert scanner fix in 64f3832
- Date: Wed, 27 Jun 2012 22:13:18 +0000 (UTC)
commit e4879c84a121cb2046fb64d30ca90f136802d90f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jun 27 18:02:26 2012 -0400
Revert scanner fix in 64f3832
This is incorrect -- the type name that's passed to the function
should contain a prefix. This fixes error domains for GLib errors.
Don't revert doc changes or test additions.
giscanner/maintransformer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py
index 355158b..850d242 100644
--- a/giscanner/maintransformer.py
+++ b/giscanner/maintransformer.py
@@ -901,7 +901,7 @@ the ones that failed to resolve removed."""
if not isinstance(enum, ast.Enum):
continue
type_name = enum.ctype
- uscored = to_underscores_noprefix(type_name).lower()
+ uscored = to_underscores(type_name).lower()
uscore_enums[uscored] = enum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]