this should fix a seg on exit.

This commit is contained in:
Carsten Haitzler 2013-04-08 10:52:10 +09:00
parent 87d585bd07
commit f0670d0c8a
1 changed files with 2 additions and 1 deletions

View File

@ -578,6 +578,7 @@ main_close(Evas_Object *win, Evas_Object *term)
_term_focus(sp->term);
_term_focus_show(sp, sp->term);
}
_split_tabcount_update(sp);
}
else
{
@ -604,8 +605,8 @@ main_close(Evas_Object *win, Evas_Object *term)
_term_focus_show(sp, sp->term);
}
if (!sp->wn->terms) evas_object_del(sp->wn->win);
else _split_tabcount_update(sp);
}
_split_tabcount_update(sp);
}
static Term *