Fixing a problem with edje_object_color_class_del.
authorantognolli <antognolli>
Tue, 2 Aug 2011 19:41:43 +0000 (19:41 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 2 Aug 2011 19:41:43 +0000 (19:41 +0000)
The color class was removed from the list but the edje object
was not updated neither the signal was emmited.

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@62019 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_util.c

index 2d63a9c..4094e9e 100644 (file)
@@ -677,7 +677,7 @@ edje_object_color_class_del(Evas_Object *obj, const char *color_class)
             ed->color_classes = eina_list_remove(ed->color_classes, cc);
             eina_stringshare_del(cc->name);
             free(cc);
-            return;
+            break;
          }
      }