summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary/src/lib/elm_entry.c')
-rw-r--r--legacy/elementary/src/lib/elm_entry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_entry.c b/legacy/elementary/src/lib/elm_entry.c
index a27cc7ac4b..ecefe9dd9b 100644
--- a/legacy/elementary/src/lib/elm_entry.c
+++ b/legacy/elementary/src/lib/elm_entry.c
@@ -1407,7 +1407,6 @@ _entry_changed_common_handling(void *data, const char *event)
1407 _sizing_eval(data); 1407 _sizing_eval(data);
1408 if (wd->text) eina_stringshare_del(wd->text); 1408 if (wd->text) eina_stringshare_del(wd->text);
1409 wd->text = NULL; 1409 wd->text = NULL;
1410 evas_object_smart_callback_call(data, event, NULL);
1411 if (wd->delay_write) 1410 if (wd->delay_write)
1412 { 1411 {
1413 ecore_timer_del(wd->delay_write); 1412 ecore_timer_del(wd->delay_write);
@@ -1417,6 +1416,9 @@ _entry_changed_common_handling(void *data, const char *event)
1417 evas_event_thaw_eval(evas_object_evas_get(data)); 1416 evas_event_thaw_eval(evas_object_evas_get(data));
1418 if ((!wd->autosave) || (!wd->file)) return; 1417 if ((!wd->autosave) || (!wd->file)) return;
1419 wd->delay_write = ecore_timer_add(2.0, _delay_write, data); 1418 wd->delay_write = ecore_timer_add(2.0, _delay_write, data);
1419 /* callback - this could call callbacks that delete the entry... thus...
1420 * any access to wd after this could be invalid */
1421 evas_object_smart_callback_call(data, event, NULL);
1420} 1422}
1421 1423
1422static void 1424static void