forked from enlightenment/enlightenment
Not much need to reget the widget data when trying to retrieve text
from the entry. We already have the widget data struct, so grab the text directly from e_entry. SVN revision: 49341
This commit is contained in:
parent
fc5b8ca5d2
commit
df3d66bebd
|
@ -254,7 +254,7 @@ _e_wid_changed_cb(void *data, Evas_Object *obj, void *event_info)
|
||||||
|
|
||||||
if (wd->text_location)
|
if (wd->text_location)
|
||||||
{
|
{
|
||||||
text = e_widget_entry_text_get(entry);
|
text = e_entry_text_get(wd->o_entry);
|
||||||
free(*wd->text_location);
|
free(*wd->text_location);
|
||||||
*wd->text_location = text ? strdup(text) : NULL;
|
*wd->text_location = text ? strdup(text) : NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue