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```.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/598#discussion_r134093235

Reply via email to