elemenatry/elm_widget - removed unnecesary compare.

if the obj is NULL then sd will be NULL also.



SVN revision: 66321
This commit is contained in:
ChunEon Park 2011-12-19 07:06:22 +00:00
parent 0fac1e15ff
commit 507e025612
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ static const char SMART_NAME[] = "elm_widget";
#define API_ENTRY \
Smart_Data * sd = evas_object_smart_data_get(obj); \
if ((!obj) || (!sd) || (!_elm_widget_is(obj)))
if ((!sd) || (!_elm_widget_is(obj)))
#define INTERNAL_ENTRY \
Smart_Data * sd = evas_object_smart_data_get(obj); \
if (!sd) return;