Applied lok's e_remember & e_zone patches to fix missing checks.

SVN revision: 28407
This commit is contained in:
Christopher Michael 2007-02-21 00:24:53 +00:00
parent 3829bb230b
commit 2d830e59a7
2 changed files with 3 additions and 2 deletions

View File

@ -206,6 +206,7 @@ e_remember_default_match(E_Border *bd)
EAPI void
e_remember_update(E_Remember *rem, E_Border *bd)
{
if (!rem) return;
if (bd->new_client) return;
if (rem->name) evas_stringshare_del(rem->name);
if (rem->class) evas_stringshare_del(rem->class);

View File

@ -440,8 +440,8 @@ e_zone_desk_count_get(E_Zone *zone, int *x_count, int *y_count)
E_OBJECT_CHECK(zone);
E_OBJECT_TYPE_CHECK(zone, E_ZONE_TYPE);
*x_count = zone->desk_x_count;
*y_count = zone->desk_y_count;
if (x_count) *x_count = zone->desk_x_count;
if (y_count) *y_count = zone->desk_y_count;
}
EAPI void