Check that border has a "pointer" before trying to delete it. Working on

fixing bug #191.


SVN revision: 31614
This commit is contained in:
Christopher Michael 2007-09-04 16:28:24 +00:00
parent 0e8b6d5823
commit f211a9b33d
1 changed files with 5 additions and 1 deletions

View File

@ -3059,7 +3059,11 @@ e_border_resize_limit(E_Border *bd, int *w, int *h)
static void
_e_border_free(E_Border *bd)
{
e_object_del(E_OBJECT(bd->pointer));
if (bd->pointer)
{
e_object_del(E_OBJECT(bd->pointer));
bd->pointer = NULL;
}
if (bd->focused)
{
if (e_config->focus_revert_on_hide_or_close)