forked from enlightenment/efl
elementary: Check for valid frame object
Summary: Make sure we have a valid frame object before calling edje & evas functions on it. This patch fixes an issue where NULL is being passed to eo functions ref T7030 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7030 Differential Revision: https://phab.enlightenment.org/D6637
This commit is contained in:
parent
6fbcff15db
commit
843b5177df
|
@ -995,8 +995,12 @@ _elm_win_pre_render(Ecore_Evas *ee)
|
|||
{
|
||||
int mw, mh;
|
||||
|
||||
edje_object_thaw(sd->frame_obj);
|
||||
evas_object_show(sd->frame_obj);
|
||||
if (sd->type != ELM_WIN_FAKE)
|
||||
{
|
||||
edje_object_thaw(sd->frame_obj);
|
||||
evas_object_show(sd->frame_obj);
|
||||
}
|
||||
|
||||
_elm_win_frame_style_update(sd, 1, 1);
|
||||
ELM_WIN_DATA_ALIVE_CHECK(obj, sd);
|
||||
|
||||
|
|
Loading…
Reference in New Issue