tasks: ensure ec is not null.

This commit is contained in:
Alastair Poole 2021-03-04 20:00:06 +00:00
parent 56e96cf9ab
commit 378d8a726c
1 changed files with 1 additions and 1 deletions

View File

@ -337,9 +337,9 @@ _tasks_cb_iconify_end_cb(void *data, Evas_Object *obj EINA_UNUSED, const char *s
Tasks_Item *item = data;
E_Client *ec = item->client;
ec->layer_block = 0;
if (ec)
{
ec->layer_block = 0;
evas_object_layer_set(ec->frame, ec->layer);
if (ec->iconic) evas_object_hide(ec->frame);
}