diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2016-12-21 14:41:05 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2016-12-21 14:41:05 +0100 |
commit | b74dd5b7f4ae4a91555f590225a57896e1cd19e9 (patch) | |
tree | a5016d5060f66e06c5a9017d5aa88af8d5863e5a /src/lib | |
parent | 877f55e13ba9530a8933e2706350d9b3805a2cf4 (diff) |
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).
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/edje/edje_object.eo | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo index 4cfded612d..1eefa0abdb 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, | |||
1097 | @property part_external_param_type { | 1097 | @property part_external_param_type { |
1098 | get { | 1098 | get { |
1099 | [[Facility to query the type of the given parameter of the given part.]] | 1099 | [[Facility to query the type of the given parameter of the given part.]] |
1100 | return: Edje.External.Param_Type; [[#EDJE_EXTERNAL_PARAM_TYPE_MAX on errors, or another value | 1100 | return: Edje.External.Param_Type(Edje.External.Param_Type.max); [[ |
1101 | from #Edje_External_Param_Type on success.]] | 1101 | #EDJE_EXTERNAL_PARAM_TYPE_MAX on errors, or another value |
1102 | from #Edje_External_Param_Type on success. | ||
1103 | ]] | ||
1102 | } | 1104 | } |
1103 | keys { | 1105 | keys { |
1104 | part: string; [[The part name]] | 1106 | part: string; [[The part name]] |