[MPlayer-cvslog] r35772 - in trunk/gui: interface.c wm/ws.c wm/ws.h
ib
subversion at mplayerhq.hu
Thu Jan 17 18:41:44 CET 2013
Author: ib
Date: Thu Jan 17 18:41:44 2013
New Revision: 35772
Log:
Make variable wsScreenDepth static.
The information dropped from interface.c is already
being printed in wsXInit().
Modified:
trunk/gui/interface.c
trunk/gui/wm/ws.c
trunk/gui/wm/ws.h
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Thu Jan 17 18:36:16 2013 (r35771)
+++ trunk/gui/interface.c Thu Jan 17 18:41:44 2013 (r35772)
@@ -189,7 +189,6 @@ void guiInit(void)
wsSetShape(&guiApp.mainWindow, guiApp.main.Mask.Image);
wsXDNDMakeAwareness(&guiApp.mainWindow);
- mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] screen depth: %d\n", wsScreenDepth);
mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] mainWindow ID: 0x%x\n", (int)guiApp.mainWindow.WindowID);
mp_msg(MSGT_GPLAYER, MSGL_DBG2, "[interface] videoWindow ID: 0x%x\n", (int)guiApp.videoWindow.WindowID);
Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c Thu Jan 17 18:36:16 2013 (r35771)
+++ trunk/gui/wm/ws.c Thu Jan 17 18:41:44 2013 (r35772)
@@ -87,7 +87,7 @@ Display *wsDisplay;
static int wsScreen;
static Window wsRootWin;
-int wsScreenDepth;
+static int wsScreenDepth;
static int wsRedMask;
static int wsGreenMask;
static int wsBlueMask;
Modified: trunk/gui/wm/ws.h
==============================================================================
--- trunk/gui/wm/ws.h Thu Jan 17 18:36:16 2013 (r35771)
+++ trunk/gui/wm/ws.h Thu Jan 17 18:41:44 2013 (r35772)
@@ -171,8 +171,6 @@ extern int wsOrgY;
extern Display *wsDisplay;
-extern int wsScreenDepth;
-
// ----------------------------------------------------------------------------------------------
void wsXDone(void);
void wsXInit(Display *display);
More information about the MPlayer-cvslog
mailing list