forked from enlightenment/enlightenment
E: Make sure the window actually has a pointer before trying to delete
it. SVN revision: 60704
This commit is contained in:
parent
c942bf1be2
commit
4af10df930
|
@ -430,7 +430,9 @@ e_win_border_icon_key_set(E_Win *win, const char *key)
|
||||||
static void
|
static void
|
||||||
_e_win_free(E_Win *win)
|
_e_win_free(E_Win *win)
|
||||||
{
|
{
|
||||||
e_object_del(E_OBJECT(win->pointer));
|
if (win->pointer)
|
||||||
|
e_object_del(E_OBJECT(win->pointer));
|
||||||
|
|
||||||
e_canvas_del(win->ecore_evas);
|
e_canvas_del(win->ecore_evas);
|
||||||
ecore_evas_free(win->ecore_evas);
|
ecore_evas_free(win->ecore_evas);
|
||||||
if (win->border)
|
if (win->border)
|
||||||
|
|
Loading…
Reference in New Issue