static void
_e_border_free(E_Border *bd)
{
+ if (bd->client.e.state.video_parent)
+ {
+ bd->client.e.state.video_parent_border->client.e.state.video_child =
+ eina_list_remove
+ (bd->client.e.state.video_parent_border->client.e.state.video_child,
+ bd);
+ }
if (bd->client.e.state.video_child)
{
E_Border *tmp;
tmp->client.e.state.video_parent_border = NULL;
}
}
- if (bd->client.e.state.video_parent)
- {
- bd->client.e.state.video_parent_border->client.e.state.video_child =
- eina_list_remove
- (bd->client.e.state.video_parent_border->client.e.state.video_child,
- bd);
- }
if (bd->desktop)
{
efreet_desktop_free(bd->desktop);