Enlightenment CVS committal
Author : devilhorns
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_remember.c e_zone.c
Log Message:
Applied lok's e_remember & e_zone patches to fix missing checks.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_remember.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- e_remember.c 4 Jan 2007 10:30:55 -0000 1.22
+++ e_remember.c 21 Feb 2007 00:24:53 -0000 1.23
@@ -206,6 +206,7 @@
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);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_zone.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -3 -r1.108 -r1.109
--- e_zone.c 28 Jan 2007 07:22:50 -0000 1.108
+++ e_zone.c 21 Feb 2007 00:24:53 -0000 1.109
@@ -440,8 +440,8 @@
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs