ubrowser: Fix EFL error trigger by incorrect call to elm focus_set func.
authorPiotr Tworek <p.tworek@samsung.com>
Fri, 13 Mar 2015 11:54:44 +0000 (12:54 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit151ba10cd2c8e82f6106e21e696ad1646ee13cb6
tree2c8ff59eb417b753e229e246ab4b1de83cdd7577
parent500d9e482ae0fbc9313f8a2c8d58b032cfb1ef80
ubrowser: Fix EFL error trigger by incorrect call to elm focus_set func.

Technically the Ewk WebView object is not an elementary widget. Its a
smart object build from elementary widgets. We should not pass the
object to any elm function calls as they will only trigger runtime
errors without doing anything.

This patch fixes the following runtime EFL error message seen during
ubrowser startup:

  ERR<18221>:eo lib/eo/eo.c:676 _eo_call_resolve() in elm_widget.eo.c:111:
      func 'elm_obj_widget_can_focus_set' (304) could not be resolved for
      class 'Evas_Object_Smart'.

Change-Id: I8d3587c72dd911648a431a2f822b5806b634e36f
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
tizen_src/ewk/ubrowser/window.cc