hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=bc2f514d967dad562909c5bd2d3e70f61c235563

commit bc2f514d967dad562909c5bd2d3e70f61c235563
Author: ChunEon Park <[email protected]>
Date:   Mon Nov 3 13:53:55 2014 +0900

    lib/ctxpopup: call dismiss before object is deleted.
---
 src/lib/edc_editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c
index 275a98f..48e4c1f 100644
--- a/src/lib/edc_editor.c
+++ b/src/lib/edc_editor.c
@@ -290,13 +290,13 @@ ctxpopup_preview_dismiss_cb(void *data, Evas_Object *obj,
 {
    edit_data *ed = data;
    int skip_focus = (int)(uintptr_t) evas_object_data_get(obj, "continue");
+   evas_object_smart_callback_call(ed->enventor, SIG_CTXPOPUP_DISMISSED, NULL);
    evas_object_del(obj);
 
    //Since the ctxpopup will be shown again, Don't revert the focus.
    if (skip_focus) return;
    elm_object_disabled_set(ed->layout, EINA_FALSE);
    elm_object_focus_set(ed->en_edit, EINA_TRUE);
-   evas_object_smart_callback_call(ed->enventor, SIG_CTXPOPUP_DISMISSED, NULL);
 }
 
 static void

-- 


Reply via email to