Don't break object handling rules

SVN revision: 12701
This commit is contained in:
xcomputerman 2005-01-03 19:37:50 +00:00 committed by xcomputerman
parent f60386788e
commit 99d0a396da
2 changed files with 2 additions and 1 deletions

View File

@ -553,6 +553,8 @@ void
e_border_maximize(E_Border *bd)
{
E_Zone *zone;
E_OBJECT_CHECK(bd);
if ((bd->shaded) || (bd->shading)) return;
if (!bd->maximized)

View File

@ -19,7 +19,6 @@ e_zone_new(E_Container *con, int x, int y, int w, int h)
E_Desk *desk;
zone = E_OBJECT_ALLOC(E_Zone, _e_zone_free);
memset(zone, 0, sizeof(E_Zone));
if (!zone) return NULL;
printf("NEW ZONE! %d %d %d %d\n", x, y, w, h);