aboutsummaryrefslogtreecommitdiffhomepage
path: root/input
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 13:44:59 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 13:44:59 +0000
commit3b31fa5717f26ac8de703ed2681c9e42ac181e60 (patch)
treea09e8cbd7701bdd7f63158f8219263493f1d1eee /input
parent1fdf02e6fbd896c8fcce03992ecdf36144d85714 (diff)
Rename two GUI-related preprocessor directives:
HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27375 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/input/input.c b/input/input.c
index 75e355b851..2e26c2b7b0 100644
--- a/input/input.c
+++ b/input/input.c
@@ -159,7 +159,7 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_TV_TELETEXT_GO_LINK, "teletext_go_link", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
#endif
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
{ MP_CMD_GUI_LOADFILE, "gui_loadfile", 0, { {-1,{0}} } },
{ MP_CMD_GUI_LOADSUBTITLE, "gui_loadsubtitle", 0, { {-1,{0}} } },
{ MP_CMD_GUI_ABOUT, "gui_about", 0, { {-1,{0}} } },
@@ -480,7 +480,7 @@ static const mp_cmd_bind_t def_cmd_binds[] = {
};
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
static const mp_cmd_bind_t gui_def_cmd_binds[] = {
{ { 'l', 0 }, "gui_loadfile" },
@@ -1705,7 +1705,7 @@ void
mp_input_init(int use_gui) {
char* file;
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if(use_gui)
mp_input_add_binds(gui_def_cmd_binds);
#endif