[toolbar] don't leak icons into the UI
authorAndy Williams <andy@andywilliams.me>
Fri, 29 Jan 2016 15:33:27 +0000 (15:33 +0000)
committerAndy Williams <andy@andywilliams.me>
Fri, 29 Jan 2016 15:35:58 +0000 (15:35 +0000)
commit7c07651d61cfe8436c5e626639ce3e73f54069d3
treeb64167acc67adc6193ef37ea7600a8d5619d5ddd
parenteb2085c23c6feb48c5d8b012ea622433a47e2747
[toolbar] don't leak icons into the UI

This cleans up orphan icons being left in the UI if you call icon_set
after the toolbar has been displayed.

This was most noticable if the toolbar or buttons move first

@fix
legacy/elementary/src/lib/elm_toolbar.c