[MPlayer-cvslog] r36092 - trunk/gui/dialog/equalizer.c

ib subversion at mplayerhq.hu
Fri Mar 29 15:09:40 CET 2013


Author: ib
Date: Fri Mar 29 15:09:40 2013
New Revision: 36092

Log:
Make HideEquConfig() static.

It only has file scope.

In order to do so, relocate the functions.

Additionally, remove unnecessary declaration.

Modified:
   trunk/gui/dialog/equalizer.c

Modified: trunk/gui/dialog/equalizer.c
==============================================================================
--- trunk/gui/dialog/equalizer.c	Fri Mar 29 14:54:58 2013	(r36091)
+++ trunk/gui/dialog/equalizer.c	Fri Mar 29 15:09:40 2013	(r36092)
@@ -71,7 +71,6 @@ char * gtkEquChannel6 = NULL;
 // ---
 
 void ShowEquConfig( void );
-void HideEquConfig( void );
 
 static void eqSetBands( int channel )
 {
@@ -126,6 +125,14 @@ static void eqSetChannelNames( void )
  gtk_clist_select_row( GTK_CLIST( ChannelsList ),0,0 );
 }
 
+static void HideEquConfig( void )
+{
+ if ( !EquConfig ) return;
+ gtk_widget_hide( EquConfig );
+ gtk_widget_destroy( EquConfig );
+ EquConfig=NULL;
+}
+
 static void HideEqualizer( void )
 {
  if ( !Equalizer ) return;
@@ -553,14 +560,6 @@ void ShowEquConfig( void )
  gtkSetLayer( EquConfig );
 }
 
-void HideEquConfig( void )
-{
- if ( !EquConfig ) return;
- gtk_widget_hide( EquConfig );
- gtk_widget_destroy( EquConfig );
- EquConfig=NULL;
-}
-
 static void ecButtonReleased( GtkButton * button,gpointer user_data )
 {
  if ( (int)user_data )


More information about the MPlayer-cvslog mailing list