Use gtk_widget_destroy() instead of gtk_container_remove() if possible.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Wed, 13 Aug 2014 19:22:04 +0000 (22:22 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 16 Aug 2014 16:23:39 +0000 (19:23 +0300)
commit5b3976380dd7f9efa32f03417214befbeccaf838
tree52ca7cdc1b0a4269786e23ddfaa0b6aaab747c3d
parent3154b4effec2e110090aaa1a496814043c2265c6
Use gtk_widget_destroy() instead of gtk_container_remove() if possible.

In most of cases the widget is not referenced and is lost anyway
therefore there is no reason to use gtk_container_remove() for it.
src/icon-grid.c
src/plugin.h
src/plugins/indicator/indicator.c
src/plugins/launchtaskbar.c
src/plugins/monitors/monitors.c
src/plugins/tray.c
src/plugins/volume/volume.c