Mercurial > mplayer.hg
diff gui/mplayer/gtk/pl.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | b0a7b35b78d2 |
children | 32725ca88fed |
line wrap: on
line diff
--- a/gui/mplayer/gtk/pl.c Tue May 12 19:25:35 2009 +0000 +++ b/gui/mplayer/gtk/pl.c Wed May 13 02:58:57 2009 +0000 @@ -153,7 +153,7 @@ pos=strtok( NULL,"/" ); gtk_ctree_get_node_info( GTK_CTREE( CTDirTree ),node,NULL,NULL,NULL,NULL,NULL,NULL,&leaf,NULL ); if ( !leaf && pos ) gtk_ctree_expand( GTK_CTREE( CTDirTree ),node ); - else + else { DirNodeType * DirNode; gtk_ctree_select( GTK_CTREE( CTDirTree ),node ); @@ -247,7 +247,7 @@ } } case 0: // cancel - HidePlayList(); + HidePlayList(); break; case 2: // remove { @@ -258,7 +258,7 @@ gtk_clist_freeze( GTK_CLIST( CLSelected ) ); for ( i=0;i<NrOfSelected-c;i++ ) - if ( CLListSelected[i] ) + if ( CLListSelected[i] ) { gtk_clist_remove( GTK_CLIST( CLSelected ),i - c ); c++; @@ -341,7 +341,7 @@ gtk_clist_freeze( GTK_CLIST( ctree ) ); node=gtk_ctree_find_by_row_data( ctree,parent_node,NULL ); gtk_ctree_remove_node( ctree,node ); - + if ( (dir=opendir( DirNode->path ) ) ) { while( (dirent=readdir( dir )) ) @@ -363,7 +363,7 @@ } closedir( dir ); } - + gtk_ctree_sort_node( ctree,parent_node ); gtk_clist_thaw( GTK_CLIST( ctree ) ); } @@ -443,7 +443,7 @@ scrolledwindow1=gtk_scrolled_window_new( NULL,NULL ); gtk_widget_show( scrolledwindow1 ); - gtk_container_add( GTK_CONTAINER( + gtk_container_add( GTK_CONTAINER( AddFrame( NULL,0,hbox1,1 ) ),scrolledwindow1 ); gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW( scrolledwindow1 ),GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC ); @@ -469,10 +469,10 @@ gtk_ctree_expand( GTK_CTREE( CTDirTree ),parent ); gtk_widget_show( CTDirTree ); - + gtk_clist_set_column_widget( GTK_CLIST( CTDirTree ),0, AddLabel( MSGTR_PLAYLIST_DirectoryTree,NULL ) ); - + vbox2=AddVBox( AddFrame( NULL,1,hbox1,1 ),0 );