elementary/elm_entry : Add widget checking for some APIs.

SVN revision: 78207
This commit is contained in:
WooHyun Jung 2012-10-19 00:56:03 +00:00
parent 45622bb3fa
commit 87bc405a68
1 changed files with 2 additions and 0 deletions

View File

@ -3222,12 +3222,14 @@ EAPI void
elm_entry_entry_set(Evas_Object *obj,
const char *entry)
{
ELM_ENTRY_CHECK(obj);
_elm_entry_smart_text_set(obj, NULL, entry);
}
EAPI const char *
elm_entry_entry_get(const Evas_Object *obj)
{
ELM_ENTRY_CHECK(obj) NULL;
return _elm_entry_smart_text_get(obj, NULL);
}