Fix segfault

This commit is contained in:
o9000 2015-11-04 12:25:49 +01:00
parent 732b9d3910
commit 1b554ebc1e

View file

@ -480,9 +480,11 @@ void remove_area (void *a)
Area *area = (Area*)a;
Area *parent = (Area*)area->parent;
if (parent) {
parent->children = g_list_remove(parent->children, area);
parent->resize = 1;
set_redraw(parent);
}
if (mouse_over_area == a) {
mouse_out();