Removing swallows correctly in theme hook.
authorOtávio Pontes <otavio@profusion.mobi>
Tue, 7 Dec 2010 15:55:22 +0000 (15:55 +0000)
committerOtávio Pontes <otavio@profusion.mobi>
Tue, 7 Dec 2010 15:55:22 +0000 (15:55 +0000)
SVN revision: 55357

src/lib/elm_colorselector.c

index be9f6c0..b596aba 100644 (file)
@@ -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;