summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-10-02 16:32:15 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-10-02 17:33:32 +0300
commitfff1ff21cc67012ebf533305f38a96adf234ac52 (patch)
tree8aa50b8efa426120d744c705bd2e74388bc07ffb
parente846f3cfbeda59eaafe15302320f384332c11c82 (diff)
More Eo adaptations
-rw-r--r--src/lib/ffi_abstraction.c4
-rw-r--r--src/lib/simulator.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ffi_abstraction.c b/src/lib/ffi_abstraction.c
index 23d7eda..11e6935 100644
--- a/src/lib/ffi_abstraction.c
+++ b/src/lib/ffi_abstraction.c
@@ -283,8 +283,6 @@ _ffi_eo_add(const Gui_Session *session, const Gui_Widget *wdg, Eo *parent_eo)
283 parent_wdg = wdg_parent_get(wdg); 283 parent_wdg = wdg_parent_get(wdg);
284 parent_eo = session_eo_get(session, parent_wdg); 284 parent_eo = session_eo_get(session, parent_wdg);
285 eo_do(parent_eo, ret = elm_obj_win_main_menu_get()); 285 eo_do(parent_eo, ret = elm_obj_win_main_menu_get());
286 /* Increase reference, because it was already decreased*/
287 eo_ref(ret);
288 return ret; 286 return ret;
289 } 287 }
290 } 288 }
@@ -339,7 +337,7 @@ _ffi_eo_add(const Gui_Session *session, const Gui_Widget *wdg, Eo *parent_eo)
339 } 337 }
340 } 338 }
341 339
342 Eo *_tmp_obj = _eo_add_internal_start(__FILE__, __LINE__, kl, parent_eo); 340 Eo *_tmp_obj = _eo_add_internal_start(__FILE__, __LINE__, kl, parent_eo, EINA_FALSE);
343 341
344 const Eo *_eoid_ = _tmp_obj; 342 const Eo *_eoid_ = _tmp_obj;
345 if (_eo_do_start(_eoid_, NULL, EINA_FALSE, __FILE__, __FUNCTION__, __LINE__)) 343 if (_eo_do_start(_eoid_, NULL, EINA_FALSE, __FILE__, __FUNCTION__, __LINE__))
diff --git a/src/lib/simulator.c b/src/lib/simulator.c
index 9ac4462..bc19776 100644
--- a/src/lib/simulator.c
+++ b/src/lib/simulator.c
@@ -187,7 +187,6 @@ static Eina_Bool
187_widget_del(Gui_Session *session, const Gui_Widget *wdg, void *data EINA_UNUSED) 187_widget_del(Gui_Session *session, const Gui_Widget *wdg, void *data EINA_UNUSED)
188{ 188{
189 Eo *o = session_eo_get(session, wdg); 189 Eo *o = session_eo_get(session, wdg);
190 eo_ref(o);
191 /* Eo object will be deleted from session in EO delete callback. 190 /* Eo object will be deleted from session in EO delete callback.
192 *_simulated_wdg_del_cb_post() 191 *_simulated_wdg_del_cb_post()
193 * */ 192 * */