pygtk r2957 - in trunk: . codegen



Author: paulp
Date: Tue Jan 29 21:21:56 2008
New Revision: 2957
URL: http://svn.gnome.org/viewvc/pygtk?rev=2957&view=rev

Log:
Fix two typos in codegen.

Modified:
   trunk/ChangeLog
   trunk/codegen/h2def.py

Modified: trunk/codegen/h2def.py
==============================================================================
--- trunk/codegen/h2def.py	(original)
+++ trunk/codegen/h2def.py	Tue Jan 29 21:21:56 2008
@@ -281,9 +281,9 @@
             for func in filter.functions + filter.methods.values():
                 self._functions[func.c_name] = func
             for obj in filter.objects + filter.boxes + filter.interfaces:
-                self._objects[obj.c_name] = func
+                self._objects[obj.c_name] = obj
             for obj in filter.enums:
-                self._enums[obj.c_name] = func
+                self._enums[obj.c_name] = obj
 
     def write_def(self, deffile):
         buf = open(deffile).read()



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