diff input/input.c @ 27343:5fe6a8adf569

Rename two GUI-related preprocessor directives: HAVE_NEW_GUI --> CONFIG_GUI, HAVE_GTK2_GUI --> CONFIG_GTK2
author diego
date Wed, 30 Jul 2008 13:44:59 +0000
parents e7c989f7a7c9
children b597fd2924b4
line wrap: on
line diff
--- a/input/input.c	Wed Jul 30 12:03:30 2008 +0000
+++ b/input/input.c	Wed Jul 30 13:44:59 2008 +0000
@@ -159,7 +159,7 @@
   { 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 @@
 };
 
 
-#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 @@
 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