changeset 32952:1aeeba137de9

Remove needless includes. (Although it should be purely cosmetic, the compiler output changes.)
author ib
date Mon, 07 Mar 2011 19:35:39 +0000
parents c11e65fcb818
children 5e58be6ff558
files gui/mplayer/gui_common.c gui/mplayer/gui_common.h
diffstat 2 files changed, 3 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/gui/mplayer/gui_common.c	Mon Mar 07 16:44:42 2011 +0000
+++ b/gui/mplayer/gui_common.c	Mon Mar 07 19:35:39 2011 +0000
@@ -18,36 +18,27 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include <gtk/gtk.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <inttypes.h>
-#include <sys/stat.h>
-#include <unistd.h>
 #include <string.h>
 
-#include "gui/app.h"
+#include "gui_common.h"
+#include "gui/interface.h"
 #include "gui/skin/font.h"
-#include "gui/skin/skin.h"
-#include "gui/wm/ws.h"
 
 #include "config.h"
 #include "help_mp.h"
-#include "libvo/x11_common.h"
 
 #include "stream/stream.h"
 #include "mixer.h"
-#include "sub/sub.h"
 
-#include "libmpdemux/demuxer.h"
 #include "libmpdemux/stheader.h"
 #include "codec-cfg.h"
 #include "access_mpcontext.h"
 #include "libavutil/avstring.h"
 
-#include "gui_common.h"
-#include "play.h"
-#include "widgets.h"
-
 unsigned int GetTimerMS( void );
 
 static inline void TranslateFilename( int c,char * tmp,size_t tmplen )
--- a/gui/mplayer/gui_common.h	Mon Mar 07 16:44:42 2011 +0000
+++ b/gui/mplayer/gui_common.h	Mon Mar 07 19:35:39 2011 +0000
@@ -19,15 +19,7 @@
 #ifndef MPLAYER_GUI_GUI_COMMON_H
 #define MPLAYER_GUI_GUI_COMMON_H
 
-#include <stdlib.h>
-#include <stdio.h>
-#include <inttypes.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
 #include "gui/app.h"
-#include "gui/bitmap.h"
-#include "gui/wm/ws.h"
 
 #define DELAYTIME 2500   // in milliseconds