elementary/elm_entry : Add widget checking for some APIs.
authorWooHyun Jung <woohyun0705@gmail.com>
Fri, 19 Oct 2012 00:56:03 +0000 (00:56 +0000)
committerWooHyun Jung <woohyun0705@gmail.com>
Fri, 19 Oct 2012 00:56:03 +0000 (00:56 +0000)
SVN revision: 78207

src/lib/elm_entry.c

index 5ddac48..eb895e1 100644 (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);
 }