[MPlayer-cvslog] CVS: main/Gui/mplayer mw.c, 1.113, 1.114 widgets.c, 1.43, 1.44

Diego Biurrun CVS syncmail at mplayerhq.hu
Wed Dec 15 02:22:26 CET 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var2/tmp/cvs-serv31292/Gui/mplayer

Modified Files:
	mw.c widgets.c 
Log Message:
printf --> mp_msg conversion, less verbosity


Index: mw.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- mw.c	21 Nov 2004 15:10:37 -0000	1.113
+++ mw.c	15 Dec 2004 01:22:24 -0000	1.114
@@ -551,7 +551,7 @@
 
     if(stat(str,&buf) == 0 && S_ISDIR(buf.st_mode) == 0) {
       /* this is not a directory so try to play it */
-      printf("Received D&D %s\n",str);
+      mp_msg( MSGT_GPLAYER,MSGL_V,"Received D&D %s\n",str );
       
       /* check if it is a subtitle file */
       {
@@ -590,7 +590,7 @@
       }
       gtkSet(gtkAddPlItem,0,(void*)item);
     } else {
-      printf("Received not a file: %s !\n",str);
+      mp_msg( MSGT_GPLAYER,MSGL_WARN,MSGTR_NotAFile,str );
     }
     free( str );
   }

Index: widgets.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/widgets.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- widgets.c	17 Jan 2003 22:39:39 -0000	1.43
+++ widgets.c	15 Dec 2004 01:22:24 -0000	1.44
@@ -60,7 +60,7 @@
 
 void gtkInit( void )
 {
- mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"[widget] init gtk ...\n" );
+ mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"[widget] init GTK ...\n" );
  gtk_set_locale();
  gtk_init( 0,NULL );
 // gdk_set_use_xshm( TRUE );




More information about the MPlayer-cvslog mailing list