changeset 23446:23729eb4df91

get rid of Gui code that has been commented out since ages
author reimar
date Mon, 04 Jun 2007 13:16:39 +0000
parents 226957a512ca
children 3ee9967b7209
files gui/mplayer/gtk/fs.c
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/gui/mplayer/gtk/fs.c	Mon Jun 04 13:15:35 2007 +0000
+++ b/gui/mplayer/gtk/fs.c	Mon Jun 04 13:16:39 2007 +0000
@@ -174,7 +174,6 @@
  clist_append_fname(list, "..", dpixmap, dmask);
 
  glob( "*",0,NULL,&gg );
-// glob( ".*",GLOB_NOSORT | GLOB_APPEND,NULL,&gg );
  for(  i=0;(unsigned)i<gg.gl_pathc;i++ )
   {
    stat( gg.gl_pathv[i],&fs );
@@ -187,37 +186,18 @@
   {
    char tmp[8];
    int  i,c,glob_param = 0;
-//printf( "sub item detected.\n" );   
    for ( i=0,c=0;i<(int)strlen( fsFilter ) + 1;i++,c++ )
     {
      tmp[c]=fsFilter[i];
      if ( ( tmp[c] == ',' )||( tmp[c] == '\0' ) )
       {
        tmp[c]=0; c=-1;
-//       printf( "substr: %s\n",tmp );
        glob( Filter( tmp ),glob_param,NULL,&gg ); 
        glob_param=GLOB_APPEND;
       }
     }
   } else glob( Filter( fsFilter ),0,NULL,&gg );
 
-#if 0
- if ( !strcmp( fsFilter,"*" ) )
- {
-  char * f = strdup( fsFilter );
-  int    i;
-  for( i=0;i<strlen( f );i++ )
-   if ( ( f[i] >= 'A' )&&( f[i] <= 'Z' ) ) f[i]+=32;
-  glob( f,GLOB_APPEND,NULL,&gg );
-
-  for( i=0;i<strlen( f );i++ )
-   if ( ( f[i] >= 'a' )&&( f[i] <= 'z' ) ) f[i]-=32;
-  glob( f,GLOB_APPEND,NULL,&gg );
-  free( f );
- }
-#endif
-
-// glob( ".*",GLOB_NOSORT | GLOB_APPEND,NULL,&gg );
  for(  i=0;(unsigned)i<gg.gl_pathc;i++ )
   {
    stat( gg.gl_pathv[i],&fs );