[MPlayer-cvslog] r38625 - trunk/gui/dialog/equalizer.c
ib
subversion at mplayerhq.hu
Tue Jun 25 15:20:16 EEST 2024
Author: ib
Date: Tue Jun 25 15:20:16 2024
New Revision: 38625
Log:
Remove eqFocus().
It makes no sense, because eqSetBands() is already called whenever
necessary.
With a focus-in-event callback, eqSetBands() will even be called on
every time the window is moved!
Modified:
trunk/gui/dialog/equalizer.c
Modified: trunk/gui/dialog/equalizer.c
==============================================================================
--- trunk/gui/dialog/equalizer.c Tue Jun 25 15:19:09 2024 (r38624)
+++ trunk/gui/dialog/equalizer.c Tue Jun 25 15:20:16 2024 (r38625)
@@ -207,16 +207,6 @@ static void eqButtonReleased( GtkButton
}
}
-static gboolean eqFocus( GtkWidget * widget,GdkEvent * event,gpointer user_data )
-{
- (void) widget;
- (void) event;
- (void) user_data;
-
- eqSetBands( Channel );
- return FALSE;
-}
-
static void eqSelectChannelsListRow( GtkCList * clist,gint row,gint column,GdkEvent * event,gpointer user_data )
{
(void) clist;
@@ -465,7 +455,6 @@ static GtkWidget * CreateEqualizer( void
g_signal_connect( G_OBJECT( Equalizer ),"delete-event",G_CALLBACK( eqDelete ),NULL );
g_signal_connect( G_OBJECT( Equalizer ),"destroy",G_CALLBACK( gtk_widget_destroyed ),&Equalizer );
- g_signal_connect( G_OBJECT( Equalizer ),"focus-in-event",G_CALLBACK( eqFocus ),GINT_TO_POINTER(2) );
g_signal_connect( G_OBJECT( ChannelsList ),"select-row",G_CALLBACK( eqSelectChannelsListRow ),NULL );
More information about the MPlayer-cvslog
mailing list