[MPlayer-cvslog] r34559 - in trunk/gui/ui: gmplayer.h playbar.c sub.c

ib subversion at mplayerhq.hu
Fri Jan 13 17:40:04 CET 2012


Author: ib
Date: Fri Jan 13 17:40:04 2012
New Revision: 34559

Log:
Remove unused parameter from uiPlaybarShow().

Modified:
   trunk/gui/ui/gmplayer.h
   trunk/gui/ui/playbar.c
   trunk/gui/ui/sub.c

Modified: trunk/gui/ui/gmplayer.h
==============================================================================
--- trunk/gui/ui/gmplayer.h	Fri Jan 13 17:36:06 2012	(r34558)
+++ trunk/gui/ui/gmplayer.h	Fri Jan 13 17:40:04 2012	(r34559)
@@ -49,6 +49,6 @@ void uiShowMenu( int mx, int my );
 void uiMenuMouseHandle( int X, int Y, int RX, int RY );
 
 void uiPlaybarInit( void );
-void uiPlaybarShow( int x, int y );
+void uiPlaybarShow( int y );
 
 #endif /* MPLAYER_GUI_GMPLAYER_H */

Modified: trunk/gui/ui/playbar.c
==============================================================================
--- trunk/gui/ui/playbar.c	Fri Jan 13 17:36:06 2012	(r34558)
+++ trunk/gui/ui/playbar.c	Fri Jan 13 17:40:04 2012	(r34559)
@@ -227,7 +227,7 @@ potihandled:
   }
 }
 
-void uiPlaybarShow( int x, int y )
+void uiPlaybarShow( int y )
 {
  if ( !guiApp.playbarIsPresent || !gtkEnablePlayBar ) return;
  if ( !guiApp.subWindow.isFullScreen ) return;

Modified: trunk/gui/ui/sub.c
==============================================================================
--- trunk/gui/ui/sub.c	Fri Jan 13 17:36:06 2012	(r34558)
+++ trunk/gui/ui/sub.c	Fri Jan 13 17:40:04 2012	(r34559)
@@ -57,7 +57,7 @@ void uiSubMouseHandle( int Button,int X,
  static int mplSubMoved = 0;
  static int msButton = 0;
 
- uiPlaybarShow( X,Y );
+ uiPlaybarShow( Y );
 
  switch( Button )
   {
@@ -96,7 +96,7 @@ void uiSubMouseHandle( int Button,int X,
             case wsPMMouseButton:
                    uiMenuMouseHandle( X,Y,RX,RY );
                    break;
-	    default: uiPlaybarShow( X,Y ); break;
+	    default: uiPlaybarShow( Y ); break;
            }
           break;
    case wsRLMouseButton:


More information about the MPlayer-cvslog mailing list