# HG changeset patch # User ib # Date 1364566180 0 # Node ID 05f75ac2dd8ba97341bd3c525d682ac5d22b5ad1 # Parent 7d749e44a9e5aedceec0a013dedca0d004d12238 Make HideEquConfig() static. It only has file scope. In order to do so, relocate the functions. Additionally, remove unnecessary declaration. diff -r 7d749e44a9e5 -r 05f75ac2dd8b gui/dialog/equalizer.c --- 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 )