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:
Tom Hacohen 2012-09-11 14:25:30 +00:00
parent 3fec653c9b
commit 47d2139e0f
1 changed files with 1 additions and 1 deletions

View File

@ -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