[gobject-introspection/wip/transformer] Fix having no --strip-prefix
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/wip/transformer] Fix having no --strip-prefix
- Date: Fri, 23 Jul 2010 10:36:33 +0000 (UTC)
commit 02ae9c44ae44dbb31ef3a8ff0b7f7858267efd07
Author: Colin Walters <walters verbum org>
Date: Fri Jul 23 04:14:11 2010 -0400
Fix having no --strip-prefix
giscanner/ast.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 464c794..652b0e4 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -260,8 +260,8 @@ class Namespace(object):
self.name = name
self.version = version
self.c_prefix = c_prefix or name
- self._lower_c_prefix = c_prefix.lower()
- self.uscore_prefix = to_underscores(c_prefix).lower()
+ self._lower_c_prefix = self.c_prefix.lower()
+ self.uscore_prefix = to_underscores(self.c_prefix).lower()
self._names = odict() # Maps from GIName -> node
self._aliases = {} # Maps from GIName -> GIName
self._type_names = {} # Maps from GTName -> node
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]