remove useless null checks

CIDs 1155278, 1155289
This commit is contained in:
Mike Blumenkrantz 2014-06-10 20:40:13 -04:00
parent fe49cf7072
commit 04a8f58ff9
1 changed files with 2 additions and 2 deletions

View File

@ -2776,7 +2776,7 @@ e_comp_object_frame_theme_set(Evas_Object *obj, const char *name)
E_FREE_FUNC(cw->frame_icon, evas_object_del);
}
}
else if (cw->ec)
else
{
cw->ec->changes.icon = 1;
EC_CHANGED(cw->ec);
@ -2821,7 +2821,7 @@ reshadow:
}
} while (0);
if (cw->ec && cw->ec->maximized)
if (cw->ec->maximized)
{
cw->ec->changes.need_maximize = 1;
EC_CHANGED(cw->ec);