changeset 35758:75724b59a3a8

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.
author ib
date Thu, 24 Jan 2013 16:34:35 +0000
parents b1d32b46514e
children afb55738b1b7
files gui/interface.c gui/ui/main.c gui/ui/ui.h
diffstat 3 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Thu Jan 24 16:06:48 2013 +0000
+++ b/gui/interface.c	Thu Jan 24 16:34:35 2013 +0000
@@ -266,8 +266,6 @@
 
         cfg_write();
 
-        uiMainRender  = False;
-
         // NOTE TO MYSELF: destroy the windows
 
         wsDone();
--- a/gui/ui/main.c	Thu Jan 24 16:06:48 2013 +0000
+++ b/gui/ui/main.c	Thu Jan 24 16:34:35 2013 +0000
@@ -66,7 +66,7 @@
 unsigned int GetTimerMS( void );
 
 unsigned char * mainDrawBuffer = NULL;
-int             uiMainRender = True;
+static int      uiMainRender = True;
 
 int             uiMainAutoPlay = False;
 
--- a/gui/ui/ui.h	Thu Jan 24 16:06:48 2013 +0000
+++ b/gui/ui/ui.h	Thu Jan 24 16:34:35 2013 +0000
@@ -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;