projects
/
framework
/
uifw
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c3f6f
)
[edje_util.c] edje_object_color_class_del() API - object NULL checking is added.
author
sumanth
<sumanth.m@samsung.com>
Thu, 22 Mar 2012 05:52:17 +0000
(11:22 +0530)
committer
sumanth
<sumanth.m@samsung.com>
Mon, 26 Mar 2012 11:16:17 +0000
(16:46 +0530)
Change-Id: I53fd01e26fcb24dd1931ec1bdf01739880047197
src/lib/edje_util.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_util.c
b/src/lib/edje_util.c
index
55db69e
..
83571ac
100644
(file)
--- a/
src/lib/edje_util.c
+++ b/
src/lib/edje_util.c
@@
-673,9
+673,9
@@
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))