From: Otávio Pontes Date: Tue, 7 Dec 2010 15:55:22 +0000 (+0000) Subject: Removing swallows correctly in theme hook. X-Git-Tag: v1.0.0~3628 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17de398879da6437884cb831bde1350b159ac29a;p=platform%2Fupstream%2Felementary.git Removing swallows correctly in theme hook. SVN revision: 55357 --- diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c index be9f6c0..b596aba 100644 --- a/src/lib/elm_colorselector.c +++ b/src/lib/elm_colorselector.c @@ -123,7 +123,7 @@ _theme_hook(Evas_Object *obj) wd->cp[i]->lbt = NULL; evas_object_del(wd->cp[i]->rbt); wd->cp[i]->rbt = NULL; - if ((i == 1) || (i == 2)) + if (i != 0) { evas_object_del(wd->cp[i]->bg_rect); wd->cp[i]->bg_rect = NULL;