gobject-introspection r694 - in trunk: . giscanner
- From: jobi svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r694 - in trunk: . giscanner
- Date: Sun, 12 Oct 2008 21:11:18 +0000 (UTC)
Author: jobi
Date: Sun Oct 12 21:11:18 2008
New Revision: 694
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=694&view=rev
Log:
2008-10-12 Johan Bilien <jobi via ecp fr>
* giscanner/transformer.py: prefix for constants have an underscore,
so remove them as if they were functions, not objects.
Modified:
trunk/ChangeLog
trunk/giscanner/transformer.py
Modified: trunk/giscanner/transformer.py
==============================================================================
--- trunk/giscanner/transformer.py (original)
+++ trunk/giscanner/transformer.py Sun Oct 12 21:11:18 2008
@@ -460,7 +460,7 @@
def _create_const(self, symbol):
name = self._remove_prefix(symbol.ident)
- name = self.strip_namespace_object(name)
+ name = self._strip_namespace_func(name)
if symbol.const_string is None:
type_name = 'int'
value = symbol.const_int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]