hermet pushed a commit to branch master.

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

commit bf59f2c8da33866b8a2e7eb358a5da70a5876bed
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Fri Oct 31 21:58:05 2014 +0900

    auto_comp: Remove unnecessary call.
    
    Summary: Remove unnecessary call. queue_reset() includes entry_anchor_off() 
already.
    
    Reviewers: Hermet
    
    Reviewed By: Hermet
    
    Differential Revision: https://phab.enlightenment.org/D1616
---
 src/lib/auto_comp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/auto_comp.c b/src/lib/auto_comp.c
index a6e199d..d3767cf 100644
--- a/src/lib/auto_comp.c
+++ b/src/lib/auto_comp.c
@@ -396,7 +396,6 @@ entry_changed_cb(void *data, Evas_Object *obj EINA_UNUSED, 
void *event_info)
             (info->change.insert.content[0] == ' ') ||
             (info->change.insert.content[0] == '.'))
           {
-             entry_anchor_off(ad);
              queue_reset(ad);
           }
         else
@@ -525,7 +524,6 @@ autocomp_event_dispatch(const char *key)
    if (!strcmp(key, "BackSpace"))
      {
         queue_reset(ad);
-        entry_anchor_off(ad);
         return EINA_TRUE;
      }
    if (!strcmp(key, "Return") || !strcmp(key, "Tab"))

-- 


Reply via email to