[MPlayer-cvslog] r35852 - in trunk/gui: interface.c ui/main.c ui/ui.h

ib subversion at mplayerhq.hu
Thu Jan 24 17:34:35 CET 2013


Author: ib
Date: Thu Jan 24 17:34:35 2013
New Revision: 35852

Log:
Make uiMainRender static.

We don't need to set uiMainRender False, because since r35846
there is no longer a handler function that must be blocked.

Modified:
   trunk/gui/interface.c
   trunk/gui/ui/main.c
   trunk/gui/ui/ui.h

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Jan 24 17:06:48 2013	(r35851)
+++ trunk/gui/interface.c	Thu Jan 24 17:34:35 2013	(r35852)
@@ -266,8 +266,6 @@ void guiDone(void)
 
         cfg_write();
 
-        uiMainRender  = False;
-
         // NOTE TO MYSELF: destroy the windows
 
         wsDone();

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Thu Jan 24 17:06:48 2013	(r35851)
+++ trunk/gui/ui/main.c	Thu Jan 24 17:34:35 2013	(r35852)
@@ -66,7 +66,7 @@
 unsigned int GetTimerMS( void );
 
 unsigned char * mainDrawBuffer = NULL;
-int             uiMainRender = True;
+static int      uiMainRender = True;
 
 int             uiMainAutoPlay = False;
 

Modified: trunk/gui/ui/ui.h
==============================================================================
--- trunk/gui/ui/ui.h	Thu Jan 24 17:06:48 2013	(r35851)
+++ trunk/gui/ui/ui.h	Thu Jan 24 17:34:35 2013	(r35852)
@@ -19,8 +19,6 @@
 #ifndef MPLAYER_GUI_UI_H
 #define MPLAYER_GUI_UI_H
 
-extern int             uiMainRender;
-
 extern unsigned char * mainDrawBuffer;
 extern unsigned char * menuDrawBuffer;
 extern int             mainVisible;


More information about the MPlayer-cvslog mailing list