Ok, I've fixed it to destroy the existing menuitem and recreate it, rather than changing the type of the existing one. It also handles being converted back to a separator now (which can happen if someone calls gtk_container_remove to remove the label from the menuitem)
Ok, I've fixed it to destroy the existing menuitem and recreate it, rather than changing the type of the existing one. It also handles being converted back to a separator now (which can happen if someone calls gtk_container_ remove to remove the label from the menuitem)