projects
/
profile
/
ivi
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4828b4b
)
edje - + null checking.
author
hermet
<hermet>
Mon, 26 Mar 2012 11:00:25 +0000
(11:00 +0000)
committer
hermet
<hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 26 Mar 2012 11:00:25 +0000
(11:00 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@69635
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/edje_util.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_util.c
b/src/lib/edje_util.c
index
4ce22b5
..
d9b73bd
100644
(file)
--- a/
src/lib/edje_util.c
+++ b/
src/lib/edje_util.c
@@
-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))