diff --git a/src/panel/widgets/menu.cpp b/src/panel/widgets/menu.cpp index 5485b5d..2ba3a77 100644 --- a/src/panel/widgets/menu.cpp +++ b/src/panel/widgets/menu.cpp @@ -702,6 +702,7 @@ void WayfireMenu::refresh() { category_definition->items.clear(); } + for (auto child : flowbox.get_children()) { gtk_widget_destroy(GTK_WIDGET(child->gobj()));