q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b74dd5b7f4ae4a91555f590225a57896e1cd19e9

commit b74dd5b7f4ae4a91555f590225a57896e1cd19e9
Author: Daniel Kolesa <d.kol...@osg.samsung.com>
Date:   Wed Dec 21 14:41:05 2016 +0100

    edje object: return EDJE_EXTERNAL_PARAM_TYPE_MAX properly
    
    The getter of part_external_type should return this enum value
    on error. Thanks Artem Popov for original fix, which however
    involved using an integer value directly instead of the less
    error-prone enum (see D4502).
---
 src/lib/edje/edje_object.eo | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo
index 4cfded6..1eefa0a 100644
--- a/src/lib/edje/edje_object.eo
+++ b/src/lib/edje/edje_object.eo
@@ -1097,8 +1097,10 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, 
Efl.Container, Efl.Part,
       @property part_external_param_type {
          get {
             [[Facility to query the type of the given parameter of the given 
part.]]
-            return: Edje.External.Param_Type; [[#EDJE_EXTERNAL_PARAM_TYPE_MAX 
on errors, or another value
-                                                from #Edje_External_Param_Type 
on success.]]
+            return: Edje.External.Param_Type(Edje.External.Param_Type.max); [[
+               #EDJE_EXTERNAL_PARAM_TYPE_MAX on errors, or another value
+               from #Edje_External_Param_Type on success.
+            ]]
          }
          keys {
             part: string; [[The part name]]

-- 


Reply via email to