Cinnamon-menu-editor: Use GLib.Error for catching errors

Should fix #1702, #1740