changeset 33658:3a617d41751a

Rename guiGetEvent type guiSetParameters guiPreparation.
author ib
date Mon, 27 Jun 2011 19:25:04 +0000
parents c92f23eac7a4
children 2aaf812ef014
files gui/interface.c gui/interface.h gui/win32/interface.c mplayer.c
diffstat 4 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Jun 27 19:14:45 2011 +0000
+++ b/gui/interface.c	Mon Jun 27 19:25:04 2011 +0000
@@ -785,7 +785,7 @@
 
         break;
 
-    case guiSetParameters:
+    case guiPreparation:
 
         guiGetEvent(guiSetDefaults, NULL);
 
--- a/gui/interface.h	Mon Jun 27 19:14:45 2011 +0000
+++ b/gui/interface.h	Mon Jun 27 19:25:04 2011 +0000
@@ -49,7 +49,7 @@
 #define guiSetVolume       11
 #define guiSetDefaults     12
 #define guiSetValues       13
-#define guiSetParameters   16
+#define guiPreparation     16
 #define guiSetAfilter      17
 #define guiSetContext      18
 
--- a/gui/win32/interface.c	Mon Jun 27 19:14:45 2011 +0000
+++ b/gui/win32/interface.c	Mon Jun 27 19:25:04 2011 +0000
@@ -174,7 +174,7 @@
             GetVolumeInformation(dvd_device, dvdname, MAX_PATH, NULL, NULL, NULL, NULL, 0);
             capitalize(dvdname);
             mp_msg(MSGT_GPLAYER, MSGL_V, "Opening DVD %s -> %s\n", dvd_device, dvdname);
-            guiGetEvent(guiSetParameters, (void *) STREAMTYPE_DVD);
+            guiGetEvent(guiPreparation, (void *) STREAMTYPE_DVD);
             mygui->playlist->clear_playlist(mygui->playlist);
             mygui->playlist->add_track(mygui->playlist, filename, NULL, dvdname, 0);
             mygui->startplay(mygui);
@@ -551,7 +551,7 @@
 
     switch (type)
     {
-        case guiSetParameters:
+        case guiPreparation:
         {
             guiGetEvent(guiSetDefaults, NULL);
             guiInfo.DiskChanged = 0;
--- a/mplayer.c	Mon Jun 27 19:14:45 2011 +0000
+++ b/mplayer.c	Mon Jun 27 19:25:04 2011 +0000
@@ -3101,7 +3101,7 @@
                 mp_cmd_free(cmd);
             }
         }
-        guiGetEvent(guiSetParameters, NULL);
+        guiGetEvent(guiPreparation, NULL);
         if (guiInfo.StreamType == STREAMTYPE_STREAM) {
             play_tree_t *entry = play_tree_new();
             play_tree_add_file(entry, guiInfo.Filename);