changeset 35998:05f75ac2dd8b

Make HideEquConfig() static. It only has file scope. In order to do so, relocate the functions. Additionally, remove unnecessary declaration.
author ib
date Fri, 29 Mar 2013 14:09:40 +0000
parents 7d749e44a9e5
children 135a2c940db8
files gui/dialog/equalizer.c
diffstat 1 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/equalizer.c	Fri Mar 29 13:54:58 2013 +0000
+++ b/gui/dialog/equalizer.c	Fri Mar 29 14:09:40 2013 +0000
@@ -71,7 +71,6 @@
 // ---
 
 void ShowEquConfig( void );
-void HideEquConfig( void );
 
 static void eqSetBands( int channel )
 {
@@ -126,6 +125,14 @@
  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 @@
  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 )