eunue pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=c0ba5ad0f292b1e5871b1d578f69532865387b00
commit c0ba5ad0f292b1e5871b1d578f69532865387b00 Author: Youngbok Shin <youngb.s...@samsung.com> Date: Wed Apr 22 15:46:43 2015 +0900 entry: Fix elm_entry_input_panel_layout_get API to return ELM_INPUT_PANEL_LAYOUT_INVALID when it fails. Summary: Even if the given Evas_Object is NULL, API returns ELM_INPUT_PANEL_LAYOUT_NORMAL. But, ELM_INPUT_PANEL_LAYOUT_INVALID seems proper in that case. Test Plan: Call the following API with NULL. elm_entry_input_panel_layout_get(NULL); Reviewers: woohyun, Hermet, eunue Reviewed By: eunue Differential Revision: https://phab.enlightenment.org/D2404 --- src/lib/elm_entry.eo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_entry.eo b/src/lib/elm_entry.eo index f1ca920..1f70348 100644 --- a/src/lib/elm_entry.eo +++ b/src/lib/elm_entry.eo @@ -446,14 +446,14 @@ class Elm_Entry (Elm_Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface, /*@ Get the input panel layout of the entry - @return layout type + @return layout type. It returns ELM_INPUT_PANEL_LAYOUT_INVALID(8) when it fails. @see elm_entry_input_panel_layout_set @ingroup Entry */ } values { - Elm_Input_Panel_Layout layout; /*@ layout type */ + Elm_Input_Panel_Layout layout(8); /*@ layout type */ } } input_panel_return_key_type { --