Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : proto/python-efl

Dir     : e17/proto/python-efl/python-ecore/ecore/evas


Modified Files:
        ecore.evas.c_ecore_evas_base.pxi 


Log Message:
Update API to match ecore_evas_avoid_damage_*()

===================================================================
RCS file: 
/cvs/e/e17/proto/python-efl/python-ecore/ecore/evas/ecore.evas.c_ecore_evas_base.pxi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ecore.evas.c_ecore_evas_base.pxi    1 Oct 2007 05:09:43 -0000       1.9
+++ ecore.evas.c_ecore_evas_base.pxi    3 Oct 2007 14:35:50 -0000       1.10
@@ -646,12 +646,13 @@
         def __set__(self, int spec):
             self.fullscreen_set(spec)
 
-    def avoid_damage_set(self, int on):
-        ecore_evas_avoid_damage_set(self.obj, on)
+    def avoid_damage_set(self, int damage_type):
+        ecore_evas_avoid_damage_set(self.obj,
+                                    <Ecore_Evas_Avoid_Damage_Type>damage_type)
 
     def avoid_damage_get(self):
-        "@rtype: bool"
-        return bool(ecore_evas_avoid_damage_get(self.obj))
+        "@rtype: int"
+        return <int>ecore_evas_avoid_damage_get(self.obj)
 
     property avoid_damage:
         def __get__(self):



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to