From: Enlightenment C. <no...@cv...> - 2007-08-22 14:54:16
|
Enlightenment CVS committal Author : barbieri Project : e17 Module : proto/python-efl Dir : e17/proto/python-efl/python-evas/evas Modified Files: evas.c_evas_object_smart.pxi Log Message: Oops, should check if object provides custom implementation =================================================================== RCS file: /cvs/e/e17/proto/python-efl/python-evas/evas/evas.c_evas_object_smart.pxi,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- evas.c_evas_object_smart.pxi 22 Aug 2007 14:29:54 -0000 1.12 +++ evas.c_evas_object_smart.pxi 22 Aug 2007 14:54:13 -0000 1.13 @@ -16,14 +16,38 @@ import traceback traceback.print_exc() - del obj.delete - del obj.move - del obj.resize - del obj.show - del obj.hide - del obj.color_set - del obj.clip_set - del obj.clip_unset + try: + del obj.delete + except AttributeError, e: + pass + try: + del obj.move + except AttributeError, e: + pass + try: + del obj.resize + except AttributeError, e: + pass + try: + del obj.show + except AttributeError, e: + pass + try: + del obj.hide + except AttributeError, e: + pass + try: + del obj.color_set + except AttributeError, e: + pass + try: + del obj.clip_set + except AttributeError, e: + pass + try: + del obj.clip_unset + except AttributeError, e: + pass obj._smart_callbacks = None obj._m_delete = None |