13
0

Remove GridTypePlayhead (fix -Wswitch)

This commit is contained in:
Robin Gareus 2023-09-11 23:34:38 +02:00
parent b00b80ec7e
commit 0a316f7566
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 1 additions and 4 deletions

View File

@ -22,7 +22,6 @@
/* Changing this order will break the menu */
GRIDTYPE(GridTypeNone)
GRIDTYPE(GridTypePlayhead)
GRIDTYPE(GridTypeBar)
GRIDTYPE(GridTypeBeat)
GRIDTYPE(GridTypeBeatDiv2)

View File

@ -128,9 +128,7 @@ setup_gtk_ardour_enums ()
REGISTER_ENUM (GridTypeCDFrame);
REGISTER (grid_type);
/*
* GridTypePlayhead was not intended to get into the wild
*/
/* GridTypePlayhead was not intended to get into the wild */
enum_writer.add_to_hack_table ("GridTypePlayhead", "GridTypeNone");
REGISTER_ENUM (SnapOff);