forked from enlightenment/efl
elementary: Check for valid resize object before calling
Summary: efl_layout_signal_emit This patch fixes an issue where NULL was passed to efl_layout_signal_emit due to wd->resize_obj being NULL. This was discovered in Enlightenment by clicking on the mixer module and trying to close the popup window ref T7030 Depends on D6638 Reviewers: zmike Reviewed By: zmike Subscribers: Hermet, cedric, #committers Tags: #efl Maniphest Tasks: T7030 Differential Revision: https://phab.enlightenment.org/D6639
This commit is contained in:
parent
843b5177df
commit
be176bd307
|
@ -928,6 +928,7 @@ EOLIAN static void
|
|||
_efl_ui_layout_object_efl_layout_signal_signal_emit(Eo *obj, Efl_Ui_Layout_Object_Data *_pd EINA_UNUSED, const char *emission, const char *source)
|
||||
{
|
||||
// Don't do anything else than call forward here
|
||||
EINA_SAFETY_ON_TRUE_RETURN(efl_invalidated_get(obj));
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
|
||||
efl_layout_signal_emit(wd->resize_obj, emission, source);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue