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:
Christopher Michael 2010-05-31 01:23:07 +00:00
parent fc5b8ca5d2
commit df3d66bebd
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ _e_wid_changed_cb(void *data, Evas_Object *obj, void *event_info)
if (wd->text_location)
{
text = e_widget_entry_text_get(entry);
text = e_entry_text_get(wd->o_entry);
free(*wd->text_location);
*wd->text_location = text ? strdup(text) : NULL;
}