genlist: unrealize realized item when theme is applied
authorSangHyeon Lee <sh10233.lee@samsung.com>
Tue, 13 Dec 2016 04:03:01 +0000 (13:03 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 05:37:07 +0000 (14:37 +0900)
Change-Id: I17c77d8338a51975f8b08e95802bddc3759bad58

src/mobile_lib/elm_genlist.c

index 1c2c59807478c9e0daf462ad5a3932743597287e..3f27cfa203b9b52d44a2bfd2869df139d4ea827a 100644 (file)
@@ -4132,6 +4132,7 @@ _elm_genlist_elm_widget_theme_apply(Eo *obj, Elm_Genlist_Data *sd)
           {
              if (it->realized)
                {
+                  _item_unrealize(it, EINA_FALSE);
                   GL_IT(it)->calc_done = EINA_FALSE;
                   GL_IT(it)->block->calc_done = EINA_FALSE;
                }