modules/ibar: Fix Dereference before null check. Also remove extra
call to ibar_resize_handle (is already called from ibar_fill). Fixes CID1039813 Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
c8dd1d95d3
commit
911bffd23e
|
@ -1016,9 +1016,11 @@ _ibar_cb_app_change(void *data, E_Order *eo __UNUSED__)
|
|||
EINA_INLIST_FOREACH(io->bars, b)
|
||||
{
|
||||
_ibar_empty(b);
|
||||
if (b->inst)
|
||||
{
|
||||
_ibar_fill(b);
|
||||
_ibar_resize_handle(b);
|
||||
if (b->inst) _gc_orient(b->inst->gcc, -1);
|
||||
if (b->inst->gcc) _gc_orient(b->inst->gcc, -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue