forked from enlightenment/efl
Elm layout: remove !obj check from ELM_LAYOUT_CHECK.
This is already handled in elm_widget_type_check, and there it actually prints an error message, like it should. Patch by Daniel Zaoui. SVN revision: 76461
This commit is contained in:
parent
3fec653c9b
commit
47d2139e0f
|
@ -277,7 +277,7 @@ EAPI const Elm_Layout_Smart_Class *elm_layout_smart_class_get(void);
|
|||
}
|
||||
|
||||
#define ELM_LAYOUT_CHECK(obj) \
|
||||
if (!obj || !elm_widget_type_check((obj), ELM_LAYOUT_SMART_NAME, __func__)) \
|
||||
if (!elm_widget_type_check((obj), ELM_LAYOUT_SMART_NAME, __func__)) \
|
||||
return
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue