complain if freed object still has crumbs...

and disable resizing when shaded PROPERLY :)


SVN revision: 15558
This commit is contained in:
Carsten Haitzler 2005-06-28 07:59:13 +00:00
parent b5822eb9c5
commit 7cf61eb993
3 changed files with 9 additions and 11 deletions

2
TODO
View File

@ -8,8 +8,6 @@ Some of the things (in very short form) that need to be done to E17...
BUGS / FIXES
-------------------------------------------------------------------------------
* BUG: resizing a window shile shaded make it resize to 1 pixel high - should
not be allowed.
* BUG: sometimes unshade fails. Must be the wrong order of some events. (under
what conditions? i don't see it)
* BUG: when fullscreen should put up big black window above all windows EXCEPT

View File

@ -2830,6 +2830,7 @@ _e_border_cb_signal_move_stop(void *data, Evas_Object *obj, const char *emission
E_Border *bd;
bd = data;
if (!bd->moving) return;
bd->moving = 0;
_e_border_move_end(bd);
e_zone_flip_coords_handle(bd->zone, -1, -1);
@ -2953,7 +2954,7 @@ _e_border_cb_signal_resize_stop(void *data, Evas_Object *obj, const char *emissi
E_Border *bd;
bd = data;
if (bd->resize_mode == RESIZE_NONE) return;
_e_border_resize_handle(bd);
bd->resize_mode = RESIZE_NONE;
_e_border_resize_end(bd);
@ -5313,8 +5314,7 @@ _e_border_resize_begin(E_Border *bd)
int w, h;
e_border_raise(bd);
if ((bd->shaded) || (bd->shading) ||
(bd->maximized) || (bd->fullscreen))
if ((bd->shaded) || (bd->shading) || (bd->maximized) || (bd->fullscreen))
return 0;
if ((bd->client.icccm.base_w >= 0) &&

View File

@ -50,12 +50,7 @@ e_object_del(E_Object *obj)
E_OBJECT_CHECK(obj);
if (obj->deleted) return;
if (obj->del_att_func) obj->del_att_func(obj);
if (obj->del_func)
{
if (obj->crumbs)
printf("EEEK obj type %x has crumbs still!\n", obj->type);
obj->del_func(obj);
}
if (obj->del_func) obj->del_func(obj);
obj->deleted = 1;
e_object_unref(obj);
}
@ -85,6 +80,11 @@ void
e_object_free(E_Object *obj)
{
E_OBJECT_CHECK(obj);
if (obj->crumbs)
{
printf("EEEK obj type %x has crumbs still! ->\n", obj->type);
e_object_breadcrumb_debug(obj);
}
if (obj->free_att_func) obj->free_att_func(obj);
obj->magic = E_OBJECT_MAGIC_FREED;
obj->cleanup_func(obj);