GTK: Add missing guards for HUD actions

Fixes #377.
This commit is contained in:
Emmanuel Gil Peyrot 2020-09-21 14:55:41 +02:00
parent 35c44285a8
commit 5552ef11c0
1 changed files with 2 additions and 0 deletions

View File

@ -1070,6 +1070,7 @@ static const GActionEntry app_entries[] = {
{ "view_menu", ToggleMenuVisible, NULL, "true" },
{ "view_toolbar", ToggleToolbarVisible, NULL, "true" },
{ "view_statusbar", ToggleStatusbarVisible, NULL, "true" },
#ifdef HAVE_LIBAGG
{ "hud_fps", HudFps, NULL, "false" },
{ "hud_input", HudInput, NULL, "false" },
{ "hud_graphicalinput", HudGraphicalInput, NULL, "false" },
@ -1078,6 +1079,7 @@ static const GActionEntry app_entries[] = {
{ "hud_rtc", HudRtc, NULL, "false" },
{ "hud_mic", HudMic, NULL, "false" },
{ "hud_editor", HudEditor, NULL, "false" },
#endif
// Config
{ "enablefpslimiter", ToggleFpsLimiter, NULL, "true" },