forked from enlightenment/efl
efl_ui_layout: ensure that resize_obj is present before emitting signals
otherwise there will be warnings because of calling api on NULL objects. Differential Revision: https://phab.enlightenment.org/D8512
This commit is contained in:
parent
0c0f47796b
commit
1a5dde0b47
|
@ -399,6 +399,9 @@ static void
|
|||
_flush_mirrored_state(Eo *obj)
|
||||
{
|
||||
char prefix[4], state[10], signal[100];
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
|
||||
|
||||
if (!wd->resize_obj) return;
|
||||
|
||||
if (efl_ui_widget_disabled_get(obj))
|
||||
snprintf(state, sizeof(state), "disabled");
|
||||
|
|
Loading…
Reference in New Issue