changeset 34467:5c5024ea2529

Remove unused parameter from create_MessageBox().
author ib
date Fri, 13 Jan 2012 14:12:32 +0000
parents a650895d50a5
children ef94d1d0e265
files gui/ui/gtk/msgbox.c gui/ui/gtk/msgbox.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/msgbox.c	Fri Jan 13 14:06:55 2012 +0000
+++ b/gui/ui/gtk/msgbox.c	Fri Jan 13 14:12:32 2012 +0000
@@ -35,7 +35,7 @@
 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 @@
  MessageBox=NULL;
 }
 
-GtkWidget * create_MessageBox( int type )
+GtkWidget * create_MessageBox( void )
 {
  GtkWidget * vbox1;
  GtkWidget * hbox1;
--- a/gui/ui/gtk/msgbox.h	Fri Jan 13 14:06:55 2012 +0000
+++ b/gui/ui/gtk/msgbox.h	Fri Jan 13 14:12:32 2012 +0000
@@ -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 */