kuuko pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=ff83ec42662d39734926ac3cea0ad2ea366ba6ef

commit ff83ec42662d39734926ac3cea0ad2ea366ba6ef
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Wed Feb 25 23:38:39 2015 +0200

    Evas: Rename Object.parent_get to smart_parent_get
    
    It was clashing with Eo.parent_get and is more correct in regards
    to C api naming.
---
 efl/evas/efl.evas_object.pxi | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/efl/evas/efl.evas_object.pxi b/efl/evas/efl.evas_object.pxi
index d60c896..f4fb9a9 100644
--- a/efl/evas/efl.evas_object.pxi
+++ b/efl/evas/efl.evas_object.pxi
@@ -1711,18 +1711,24 @@ cdef class Object(Eo):
     def pointer_mode_set(self, int value):
         evas_object_pointer_mode_set(self.obj, <Evas_Object_Pointer_Mode>value)
 
-    property parent:
+    property smart_parent:
         """Object that this object is member of, or *None*.
 
         :type: :py:class:`efl.evas.Object`
 
+        .. versionchanged:: 1.14
+
+            This was renamed from ``parent`` as it was clashing with
+            :py:meth:`efl.eo.Eo.parent_get` and is more correct in regards to
+            C api naming.
+
         """
         def __get__(self):
             cdef Evas_Object *obj
             obj = evas_object_smart_parent_get(self.obj)
             return object_from_instance(obj)
 
-    def parent_get(self):
+    def smart_parent_get(self):
         cdef Evas_Object *obj
         obj = evas_object_smart_parent_get(self.obj)
         return object_from_instance(obj)

-- 


Reply via email to