[MPlayer-cvslog] r35855 - in trunk/gui: interface.c ui/actions.c ui/playbar.c
ib
subversion at mplayerhq.hu
Thu Jan 24 17:59:28 CET 2013
Author: ib
Date: Thu Jan 24 17:59:28 2013
New Revision: 35855
Log:
Remove unnecessary cast.
Modified:
trunk/gui/interface.c
trunk/gui/ui/actions.c
trunk/gui/ui/playbar.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Thu Jan 24 17:56:44 2013 (r35854)
+++ trunk/gui/interface.c Thu Jan 24 17:59:28 2013 (r35855)
@@ -192,12 +192,12 @@ void guiInit(void)
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);
- guiApp.mainWindow.DrawHandler = (void *)uiMainDraw;
+ guiApp.mainWindow.DrawHandler = uiMainDraw;
guiApp.mainWindow.MouseHandler = uiMainMouseHandle;
guiApp.mainWindow.KeyHandler = uiMainKeyHandle;
guiApp.mainWindow.DNDHandler = uiDNDHandler;
- guiApp.videoWindow.DrawHandler = (void *)uiVideoDraw;
+ guiApp.videoWindow.DrawHandler = uiVideoDraw;
guiApp.videoWindow.MouseHandler = uiVideoMouseHandle;
guiApp.videoWindow.KeyHandler = uiMainKeyHandle;
guiApp.videoWindow.DNDHandler = uiDNDHandler;
Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c Thu Jan 24 17:56:44 2013 (r35854)
+++ trunk/gui/ui/actions.c Thu Jan 24 17:59:28 2013 (r35855)
@@ -225,7 +225,7 @@ void uiChangeSkin(char *name)
wsWindowShape(&guiApp.mainWindow, guiApp.main.Mask.Image);
wsWindowIcon(wsDisplay, guiApp.mainWindow.WindowID, &guiIcon);
- guiApp.mainWindow.DrawHandler = (void *)uiMainDraw;
+ guiApp.mainWindow.DrawHandler = uiMainDraw;
guiApp.mainWindow.MouseHandler = uiMainMouseHandle;
guiApp.mainWindow.KeyHandler = uiMainKeyHandle;
guiApp.mainWindow.DNDHandler = uiDNDHandler;
Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c Thu Jan 24 17:56:44 2013 (r35854)
+++ trunk/gui/ui/playbar.c Thu Jan 24 17:59:28 2013 (r35855)
@@ -263,7 +263,7 @@ void uiPlaybarInit( void )
wsWindowShape( &guiApp.playbarWindow,guiApp.playbar.Mask.Image );
- guiApp.playbarWindow.DrawHandler=(void *)uiPlaybarDraw;
+ guiApp.playbarWindow.DrawHandler=uiPlaybarDraw;
guiApp.playbarWindow.MouseHandler=uiPlaybarMouseHandle;
guiApp.playbarWindow.KeyHandler=uiMainKeyHandle;
More information about the MPlayer-cvslog
mailing list