LarsGit223 commented on this pull request.
+/** Cleanup menu data/mem.
+ * + **/ +void menu_cleanup (void) +{ + gtk_container_remove (GTK_CONTAINER(ui_lookup_widget(wb_globals.geany_plugin->geany_data->main_widgets->window, "menubar1")), + menu_data.root_item); +} + + +/** Activate menu item "New". + * + **/ +void menu_item_new_activate (void) +{ + gtk_widget_set_sensitive(menu_data.item_new, TRUE);
Already solved, see re-factored version of ```menu.c```.