summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/command.c b/command.c
index 61de8e68dc..2aba3dd474 100644
--- a/command.c
+++ b/command.c
@@ -54,7 +54,7 @@
#include "m_struct.h"
#include "libmenu/menu.h"
#endif
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
#include "gui/interface.h"
#endif
@@ -970,7 +970,7 @@ static int mp_property_fullscreen(m_option_t * prop, int action, void *arg,
return M_PROPERTY_OK;
case M_PROPERTY_STEP_UP:
case M_PROPERTY_STEP_DOWN:
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if (use_gui)
guiGetEvent(guiIEvent, (char *) MP_CMD_GUI_FULLSCREEN);
else
@@ -2484,7 +2484,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
int n = cmd->args[0].v.i == 0 ? 1 : cmd->args[0].v.i;
int force = cmd->args[1].v.i;
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if (use_gui) {
int i = 0;
if (n > 0)
@@ -3160,7 +3160,7 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
#endif
default:
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if ((use_gui) && (cmd->id > MP_CMD_GUI_EVENTS))
guiGetEvent(guiIEvent, (char *) cmd->id);
else