forked from enlightenment/enlightenment
Applied lok's e_remember & e_zone patches to fix missing checks.
SVN revision: 28407
This commit is contained in:
parent
3829bb230b
commit
2d830e59a7
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue