changeset 34471:65ea3b7a704b

Remove unused parameter from uiPlaybarShow().
author ib
date Fri, 13 Jan 2012 16:40:04 +0000
parents 571201af959c
children f866092d51cd
files gui/ui/gmplayer.h gui/ui/playbar.c gui/ui/sub.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gmplayer.h	Fri Jan 13 16:36:06 2012 +0000
+++ b/gui/ui/gmplayer.h	Fri Jan 13 16:40:04 2012 +0000
@@ -49,6 +49,6 @@
 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 */
--- a/gui/ui/playbar.c	Fri Jan 13 16:36:06 2012 +0000
+++ b/gui/ui/playbar.c	Fri Jan 13 16:40:04 2012 +0000
@@ -227,7 +227,7 @@
   }
 }
 
-void uiPlaybarShow( int x, int y )
+void uiPlaybarShow( int y )
 {
  if ( !guiApp.playbarIsPresent || !gtkEnablePlayBar ) return;
  if ( !guiApp.subWindow.isFullScreen ) return;
--- a/gui/ui/sub.c	Fri Jan 13 16:36:06 2012 +0000
+++ b/gui/ui/sub.c	Fri Jan 13 16:40:04 2012 +0000
@@ -57,7 +57,7 @@
  static int mplSubMoved = 0;
  static int msButton = 0;
 
- uiPlaybarShow( X,Y );
+ uiPlaybarShow( Y );
 
  switch( Button )
   {
@@ -96,7 +96,7 @@
             case wsPMMouseButton:
                    uiMenuMouseHandle( X,Y,RX,RY );
                    break;
-	    default: uiPlaybarShow( X,Y ); break;
+	    default: uiPlaybarShow( Y ); break;
            }
           break;
    case wsRLMouseButton: