forked from enlightenment/efl
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).
This commit is contained in:
parent
877f55e13b
commit
b74dd5b7f4
|
@ -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]]
|
||||
|
|
Loading…
Reference in New Issue