summaryrefslogtreecommitdiff
path: root/legacy/edje
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-03-26 11:00:25 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-03-26 11:00:25 +0000
commit67e350ba1db8ed4b8c98b9c44a25edb71330683c (patch)
treef38afae4cd4de3ede9103e477db783f2236cbf9e /legacy/edje
parent6c4d8abb013b31ba30ac78d6b6d07e036d9f8709 (diff)
edje - + null checking.
SVN revision: 69635
Diffstat (limited to 'legacy/edje')
-rw-r--r--legacy/edje/src/lib/edje_util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/legacy/edje/src/lib/edje_util.c b/legacy/edje/src/lib/edje_util.c
index 4ce22b5ec7..d9b73bdb7e 100644
--- a/legacy/edje/src/lib/edje_util.c
+++ b/legacy/edje/src/lib/edje_util.c
@@ -673,9 +673,10 @@ edje_object_color_class_del(Evas_Object *obj, const char *color_class)
673 Edje_Color_Class *cc = NULL; 673 Edje_Color_Class *cc = NULL;
674 unsigned int i; 674 unsigned int i;
675 675
676 if (!color_class) return;
677
678 ed = _edje_fetch(obj); 676 ed = _edje_fetch(obj);
677
678 if ((!ed) || (!color_class)) return;
679
679 EINA_LIST_FOREACH(ed->color_classes, l, cc) 680 EINA_LIST_FOREACH(ed->color_classes, l, cc)
680 { 681 {
681 if (!strcmp(cc->name, color_class)) 682 if (!strcmp(cc->name, color_class))