Fix build break
authorJihoon Chung <jihoon.chung@samsaung.com>
Tue, 24 Sep 2013 08:39:40 +0000 (17:39 +0900)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Tue, 24 Sep 2013 14:21:00 +0000 (23:21 +0900)
- Remove unnecessary API call

[Issue#]   N/A
[Problem]  "elm_ctxpopup_auto_hide_disabled_set" API caused build error
[Cause]    With careful investigating, this API is unnecessary to use.
           Moreover correct usecase is setting EINA_FALSE with API,
           elm_ctxpopup_auto_hide_disabled_set, to use auto hide feature.
[Solution] Remove API calling in the ctxpopup_view.cpp

[SCMRequest] N/A

[Remarks]
* elm_ctxpopup_auto_hide_disabled_set
  Use this function when user wants ctxpopup not to hide automatically.
  By default, ctxpopup is dismissed whenever mouse is clicked its background area,
  language is changed, and its parent geometry is updated (or changed).
  Not to hide ctxpopup automatically, disable auto hide function by calling this API,
  then ctxpopup won't be dismissed in those scenarios.
  Default value of disabled is EINA_FALSE.

Change-Id: Ifc03780c8d60e5d7125ccbbc1e878f398d345b28

webapp-detail/ctxpopup_view.cpp

index 927817f..2260c25 100755 (executable)
@@ -57,7 +57,7 @@ void CtxpopupView::init(Evas_Object* parent, CtxpopupItemDataList list)
     // create ctxpopup
     m_ctxpopup = elm_ctxpopup_add(m_parent);
     elm_object_style_set(m_ctxpopup, "more/default");
-    elm_ctxpopup_auto_hide_disabled_set(m_ctxpopup, EINA_TRUE);
+
     ea_object_event_callback_add(m_ctxpopup,
                                  EA_CALLBACK_BACK,
                                  ea_ctxpopup_back_cb,