Author: EricStein
Date: 2007-07-08 16:56:24 -0400 (Sun, 08 Jul 2007)
New Revision: 430

Modified:
   trunk/pysoy/src/_datatypes/HashTable.pxi
Log:
Switched to autocleanup


Modified: trunk/pysoy/src/_datatypes/HashTable.pxi
===================================================================
--- trunk/pysoy/src/_datatypes/HashTable.pxi    2007-07-08 20:55:28 UTC (rev 
429)
+++ trunk/pysoy/src/_datatypes/HashTable.pxi    2007-07-08 20:56:24 UTC (rev 
430)
@@ -23,8 +23,7 @@
      wrapped to allow ease of use by other PySoy classes.
   '''
   def __new__(self) :
-    self._hashtable = glib.g_hash_table_new(glib.g_str_hash, glib.g_str_equal)
-    #self._hashtable = glib.g_hash_table_new_full(glib.g_str_hash, 
glib.g_str_equal, glib.g_free, glib.g_free)
+    self._hashtable = glib.g_hash_table_new_full(glib.g_str_hash, 
glib.g_str_equal, glib.g_free, glib.g_free)
 
   def __dealloc__(self) :
     glib.g_hash_table_destroy(self._hashtable)

_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to