[MPlayer-cvslog] r34555 - in trunk/gui/ui/gtk: msgbox.c msgbox.h
ib
subversion at mplayerhq.hu
Fri Jan 13 15:12:32 CET 2012
Author: ib
Date: Fri Jan 13 15:12:32 2012
New Revision: 34555
Log:
Remove unused parameter from create_MessageBox().
Modified:
trunk/gui/ui/gtk/msgbox.c
trunk/gui/ui/gtk/msgbox.h
Modified: trunk/gui/ui/gtk/msgbox.c
==============================================================================
--- trunk/gui/ui/gtk/msgbox.c Fri Jan 13 15:06:55 2012 (r34554)
+++ trunk/gui/ui/gtk/msgbox.c Fri Jan 13 15:12:32 2012 (r34555)
@@ -35,7 +35,7 @@ GtkWidget * MessageBox = NULL;
void ShowMessageBox( const char * msg )
{
if ( MessageBox ) { gtk_widget_hide( MessageBox ); gtk_widget_destroy( MessageBox ); }
- MessageBox=create_MessageBox( 0 );
+ MessageBox=create_MessageBox();
if ( strlen( msg ) < 20 ) gtk_widget_set_usize( MessageBox,196,-1 );
}
@@ -46,7 +46,7 @@ static void on_Ok_released( GtkButton *
MessageBox=NULL;
}
-GtkWidget * create_MessageBox( int type )
+GtkWidget * create_MessageBox( void )
{
GtkWidget * vbox1;
GtkWidget * hbox1;
Modified: trunk/gui/ui/gtk/msgbox.h
==============================================================================
--- trunk/gui/ui/gtk/msgbox.h Fri Jan 13 15:06:55 2012 (r34554)
+++ trunk/gui/ui/gtk/msgbox.h Fri Jan 13 15:12:32 2012 (r34555)
@@ -23,7 +23,7 @@
extern GtkWidget * MessageBox;
-GtkWidget * create_MessageBox( int type );
+GtkWidget * create_MessageBox( void );
void ShowMessageBox( const char * msg );
#endif /* MPLAYER_GUI_MSGBOX_H */
More information about the MPlayer-cvslog
mailing list