summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2015-07-08 14:45:58 +0300
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2015-07-08 15:24:43 +0300
commit45fe7f5980e17a83b163de03e5d75929da0e721c (patch)
treec3684e8909cd1c6f5304298a41a0f04b4ba89230
parent7f3b54d9246a24946df1ceefd05ee0150cf1008a (diff)
edje_edit: return EINA_TRUE for unset color_class
For unset color_class for part used edje_edit_state_color_class_set and NULL value for color_class, it's a string, is valid. In this case function must return EINA_TRUE. @fix
-rw-r--r--src/lib/edje/edje_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 7a52880f77..68f3e0c100 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -6174,7 +6174,7 @@ edje_edit_state_color_class_set(Evas_Object *obj, const char *part, const char *
6174 if (!color_class) 6174 if (!color_class)
6175 { 6175 {
6176 pd->color_class = NULL; 6176 pd->color_class = NULL;
6177 return EINA_FALSE; 6177 return EINA_TRUE;
6178 } 6178 }
6179 6179
6180 if (!ed->file->color_classes) return EINA_FALSE; 6180 if (!ed->file->color_classes) return EINA_FALSE;