forked from enlightenment/enlightenment
tasks: ensure ec is not null.
This commit is contained in:
parent
56e96cf9ab
commit
378d8a726c
|
@ -337,9 +337,9 @@ _tasks_cb_iconify_end_cb(void *data, Evas_Object *obj EINA_UNUSED, const char *s
|
||||||
Tasks_Item *item = data;
|
Tasks_Item *item = data;
|
||||||
E_Client *ec = item->client;
|
E_Client *ec = item->client;
|
||||||
|
|
||||||
ec->layer_block = 0;
|
|
||||||
if (ec)
|
if (ec)
|
||||||
{
|
{
|
||||||
|
ec->layer_block = 0;
|
||||||
evas_object_layer_set(ec->frame, ec->layer);
|
evas_object_layer_set(ec->frame, ec->layer);
|
||||||
if (ec->iconic) evas_object_hide(ec->frame);
|
if (ec->iconic) evas_object_hide(ec->frame);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue