Mercurial > mplayer.hg
diff gui/ui/gtk/preferences.c @ 34466:a650895d50a5
Use correct data types and common variable names in GTK callback functions.
Don't use (void) user_data.
author | ib |
---|---|
date | Fri, 13 Jan 2012 14:06:55 +0000 |
parents | 5a45efc630b8 |
children | 4ff933a89818 |
line wrap: on
line diff
--- a/gui/ui/gtk/preferences.c Thu Jan 12 18:21:56 2012 +0000 +++ b/gui/ui/gtk/preferences.c Fri Jan 13 14:06:55 2012 +0000 @@ -189,11 +189,11 @@ void ShowAudioConfig( void ); void HideAudioConfig( void ); -static gboolean prHScaler( GtkWidget * widget,GdkEventMotion * event,gpointer user_data ); +static gboolean prHScaler( GtkWidget * widget,GdkEvent * event,gpointer user_data ); static void prToggled( GtkToggleButton * togglebutton,gpointer user_data ); static void prCListRow( GtkCList * clist,gint row,gint column,GdkEvent * event,gpointer user_data ); #if defined(CONFIG_FREETYPE) || defined(CONFIG_ICONV) -static void prEntry( GtkContainer * container,gpointer user_data ); +static void prEntry( GtkEditable * editable,gpointer user_data ); #endif void ShowPreferences( void ) @@ -489,7 +489,7 @@ } #if defined(CONFIG_FREETYPE) || defined(CONFIG_ICONV) -static void prEntry( GtkContainer * container,gpointer user_data ) +static void prEntry( GtkEditable * editable,gpointer user_data ) { const char * comment; int i; @@ -661,7 +661,7 @@ } } -static gboolean prHScaler( GtkWidget * widget,GdkEventMotion * event,gpointer user_data ) +static gboolean prHScaler( GtkWidget * widget,GdkEvent * event,gpointer user_data ) { switch ( (int)user_data ) {