changeset 33659:2aaf812ef014

Rename guiGetEvent type guiIEvent guiRunCommand.
author ib
date Mon, 27 Jun 2011 19:39:57 +0000
parents 3a617d41751a
children 40a5f2faa22c
files command.c gui/interface.c gui/interface.h gui/win32/interface.c mplayer.c
diffstat 5 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Mon Jun 27 19:25:04 2011 +0000
+++ b/command.c	Mon Jun 27 19:39:57 2011 +0000
@@ -1075,7 +1075,7 @@
     case M_PROPERTY_STEP_DOWN:
 #ifdef CONFIG_GUI
         if (use_gui)
-            guiGetEvent(guiIEvent, (void *) MP_CMD_VO_FULLSCREEN);
+            guiGetEvent(guiRunCommand, (void *) MP_CMD_VO_FULLSCREEN);
         else
 #endif
         if (vo_config_count)
--- a/gui/interface.c	Mon Jun 27 19:25:04 2011 +0000
+++ b/gui/interface.c	Mon Jun 27 19:39:57 2011 +0000
@@ -667,9 +667,9 @@
 
         break;
 
-    case guiIEvent:
+    case guiRunCommand:
 
-        mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[interface] guiIEvent: %d\n", (int)arg);
+        mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[interface] guiRunCommand: %d\n", (int)arg);
 
         switch ((int)arg) {
         case MP_CMD_QUIT:
--- a/gui/interface.h	Mon Jun 27 19:25:04 2011 +0000
+++ b/gui/interface.h	Mon Jun 27 19:39:57 2011 +0000
@@ -38,7 +38,7 @@
 
 #define guiXEvent          0
 #define guiSetState        1
-#define guiIEvent          2
+#define guiRunCommand      2
 #define guiSetDVD          3
 #define guiSetFileName     4
 #define guiSetAudioOnly    6
--- a/gui/win32/interface.c	Mon Jun 27 19:25:04 2011 +0000
+++ b/gui/win32/interface.c	Mon Jun 27 19:39:57 2011 +0000
@@ -678,7 +678,7 @@
             }
             break;
         }
-        case guiIEvent:
+        case guiRunCommand:
         {
             mp_msg(MSGT_GPLAYER,MSGL_V, "cmd: %d\n", (int) arg);
             /* MPlayer asks us to quit */
--- a/mplayer.c	Mon Jun 27 19:25:04 2011 +0000
+++ b/mplayer.c	Mon Jun 27 19:39:57 2011 +0000
@@ -3097,7 +3097,7 @@
             guiEventHandling();
             guiGetEvent(guiReDraw, NULL);
             if ((cmd = mp_input_get_cmd(0, 0, 0)) != NULL) {
-                guiGetEvent(guiIEvent, (void *)cmd->id);
+                guiGetEvent(guiRunCommand, (void *)cmd->id);
                 mp_cmd_free(cmd);
             }
         }