edje - + null checking.

SVN revision: 69635
This commit is contained in:
ChunEon Park 2012-03-26 11:00:25 +00:00
parent 6c4d8abb01
commit 67e350ba1d
1 changed files with 3 additions and 2 deletions

View File

@ -673,9 +673,10 @@ edje_object_color_class_del(Evas_Object *obj, const char *color_class)
Edje_Color_Class *cc = NULL;
unsigned int i;
if (!color_class) return;
ed = _edje_fetch(obj);
if ((!ed) || (!color_class)) return;
EINA_LIST_FOREACH(ed->color_classes, l, cc)
{
if (!strcmp(cc->name, color_class))