elementary/entry : wd->text can not be sync perfectly with current
authorwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 6 Apr 2012 08:00:19 +0000 (08:00 +0000)
committerwoohyun <woohyun@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 6 Apr 2012 08:00:19 +0000 (08:00 +0000)
text in "elm.text". This is because wd->text is updated by edje's
signal callback. I'll think more about removing all codes wd->text.
With my opinion they are useless.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69948 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_entry.c

index 76a0f38..8de344f 100644 (file)
@@ -2329,7 +2329,6 @@ _elm_entry_text_get(const Evas_Object *obj, const char *item)
    if (item && strcmp(item, "default")) return NULL;
    const char *text;
    if (!wd) return NULL;
-   if (wd->text) return wd->text;
    text = edje_object_part_text_get(wd->ent, "elm.text");
    if (!text)
      {