gobject-introspection r1055 - in trunk: . giscanner



Author: johan
Date: Tue Jan 20 22:34:41 2009
New Revision: 1055
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=1055&view=rev

Log:
2009-01-20  Johan Dahlin  <jdahlin async com br>

        * giscanner/glibtransformer.py:
        When trying to map functions to structs, do
        not require a public structure to exist, should
        fix Gst gir generation in.



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

Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py	(original)
+++ trunk/giscanner/glibtransformer.py	Tue Jan 20 22:34:41 2009
@@ -425,6 +425,8 @@
 
         name = self._transformer.remove_prefix(remove_prefix)
         klass = self._get_attribute(name)
+        if klass is None:
+            return
 
         if not is_method:
             # Interfaces can't have constructors, punt to global scope



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