[MPlayer-cvslog] r33779 - in trunk/gui: interface.c interface.h win32/interface.c

ib subversion at mplayerhq.hu
Wed Jun 29 15:16:36 CEST 2011


Author: ib
Date: Wed Jun 29 15:16:35 2011
New Revision: 33779

Log:
Remove unused guiGetEvent type guiSetFileName.

Modified:
   trunk/gui/interface.c
   trunk/gui/interface.h
   trunk/gui/win32/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Wed Jun 29 13:38:21 2011	(r33778)
+++ trunk/gui/interface.c	Wed Jun 29 15:16:35 2011	(r33779)
@@ -580,11 +580,6 @@ int guiGetEvent(int type, void *arg)
         uiState();
         break;
 
-    case guiSetFileName:
-        if (arg)
-            guiSetFilename(guiInfo.Filename, arg);
-        break;
-
     case guiSetAudio:
 
         guiInfo.AudioChannels = arg ? ((sh_audio_t *)arg)->channels : 0;

Modified: trunk/gui/interface.h
==============================================================================
--- trunk/gui/interface.h	Wed Jun 29 13:38:21 2011	(r33778)
+++ trunk/gui/interface.h	Wed Jun 29 15:16:35 2011	(r33779)
@@ -40,7 +40,6 @@ extern int use_gui;             // this 
 #define guiSetState        1
 #define guiRunCommand      2
 #define guiSetDVD          3
-#define guiSetFileName     4
 #define guiSetAudio        6
 #define guiReDrawSubWindow 7
 #define guiSetVideoWindow  8

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Wed Jun 29 13:38:21 2011	(r33778)
+++ trunk/gui/win32/interface.c	Wed Jun 29 15:16:35 2011	(r33779)
@@ -703,9 +703,6 @@ int guiGetEvent(int type, void *arg)
             }
             break;
         }
-        case guiSetFileName:
-            if (arg) guiInfo.Filename = arg;
-            break;
         case guiSetDefaults:
         {
             audio_id = -1;


More information about the MPlayer-cvslog mailing list