gobject-introspection r406 - in trunk: . giscanner



Author: walters
Date: Tue Aug 19 22:35:46 2008
New Revision: 406
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=406&view=rev

Log:
2008-08-19  Colin Walters  <walters verbum org>

	* giscanner/transformer.py: Don't try
	to strip prefix before namespace.


Modified:
   trunk/ChangeLog
   trunk/giscanner/transformer.py

Modified: trunk/giscanner/transformer.py
==============================================================================
--- trunk/giscanner/transformer.py	(original)
+++ trunk/giscanner/transformer.py	Tue Aug 19 22:35:46 2008
@@ -303,8 +303,7 @@
         return return_
 
     def _create_typedef_struct(self, symbol):
-        name = self._remove_prefix(symbol.ident)
-        name = self.strip_namespace_object(name)
+        name = self.strip_namespace_object(symbol.ident)
         struct = Struct(name, symbol.ident)
         self._typedefs_ns[symbol.ident] = struct
         return struct
@@ -326,7 +325,6 @@
                 name = symbol.ident[1:]
             else:
                 name = symbol.ident
-            name = self._remove_prefix(name)
             name = self.strip_namespace_object(name)
             name = self.resolve_type_name(name)
             struct = Struct(name, symbol.ident)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]