summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-03-12 13:35:41 +0000
committerAndy Williams <andy@andywilliams.me>2017-03-12 13:35:41 +0000
commit54e6f3f012029e209296e6a5989eca54f5a206d5 (patch)
tree861520367bf68f42cf7ea972b9eb3bab28db86e2
parent343d2e0d8778f8e7df207ae94eb88d873b3c3487 (diff)
downloadefl-54e6f3f012029e209296e6a5989eca54f5a206d5.tar.gz
elm_code: Don't leak rows when we resize down
Thanks Cedric :) @fix
-rw-r--r--src/lib/elementary/elm_code_widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index c4db18404c..1e69df8c9b 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -1849,7 +1849,7 @@ _elm_code_widget_ensure_n_grid_rows(Elm_Code_Widget *widget, int rows)
for (i = existing - rows; i > 0; i--)
{
grid = eina_list_data_get(eina_list_last(pd->grids));
- evas_object_hide(grid);
+ evas_object_del(grid);
elm_box_unpack(pd->gridbox, grid);
pd->grids = eina_list_remove_list(pd->grids, eina_list_last(pd->grids));
}