entry: Fix elm_entry_input_panel_layout_get API to return ELM_INPUT_PANEL_LAYOUT_INVA... 65/38565/1
authorYoungbok Shin <youngb.shin@samsung.com>
Wed, 22 Apr 2015 06:46:43 +0000 (15:46 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Wed, 22 Apr 2015 06:54:53 +0000 (15:54 +0900)
commitf0a5fab63a9178838dabf14b78588e4e25ac6669
tree32c8a7f6f8d4389e3c2bcb9f4da78fd1de9dc5c9
parent99fc98e151ee676e53d78a3237371ec32efbb1d5
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

Change-Id: I04f158fdd518154d6ae49e7b2c3b48e13ecd46b6
Origin: upstream
src/lib/elm_entry.eo