changeset 36026:f96f37b4f5a1

Remove unnecessary #includes. Put #includes where they are needed.
author ib
date Sun, 31 Mar 2013 22:13:32 +0000
parents df87a3a24a7c
children 454a23cf28c5
files gui/dialog/dialog.h gui/dialog/playlist.c gui/dialog/preferences.c gui/dialog/skinbrowser.c gui/wm/ws.c
diffstat 5 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/dialog.h	Sun Mar 31 21:58:33 2013 +0000
+++ b/gui/dialog/dialog.h	Sun Mar 31 22:13:32 2013 +0000
@@ -19,16 +19,8 @@
 #ifndef MPLAYER_GUI_DIALOG_H
 #define MPLAYER_GUI_DIALOG_H
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
 #include <X11/Xlib.h>
-#include <X11/Xproto.h>
-
-#include "osdep/shmem.h"
-#include "gui/ui/actions.h"
-#include "mplayer.h"
 
 #define GTK_MB_SIMPLE 0
 #define GTK_MB_MODAL 1
--- a/gui/dialog/playlist.c	Sun Mar 31 21:58:33 2013 +0000
+++ b/gui/dialog/playlist.c	Sun Mar 31 22:13:32 2013 +0000
@@ -34,6 +34,7 @@
 #include "gui/app/gui.h"
 #include "gui/interface.h"
 #include "dialog.h"
+#include "gui/ui/actions.h"
 #include "gui/util/list.h"
 #include "gui/util/mem.h"
 #include "gui/util/string.h"
--- a/gui/dialog/preferences.c	Sun Mar 31 21:58:33 2013 +0000
+++ b/gui/dialog/preferences.c	Sun Mar 31 22:13:32 2013 +0000
@@ -30,6 +30,7 @@
 #include "help_mp.h"
 #include "mixer.h"
 #include "mpcommon.h"
+#include "mplayer.h"
 #include "libao2/audio_out.h"
 #include "sub/sub.h"
 #include "libvo/video_out.h"
--- a/gui/dialog/skinbrowser.c	Sun Mar 31 21:58:33 2013 +0000
+++ b/gui/dialog/skinbrowser.c	Sun Mar 31 22:13:32 2013 +0000
@@ -29,6 +29,7 @@
 #include "gui/app/app.h"
 #include "gui/app/cfg.h"
 #include "gui/app/gui.h"
+#include "gui/ui/actions.h"
 #include "gui/skin/skin.h"
 #include "help_mp.h"
 
--- a/gui/wm/ws.c	Sun Mar 31 21:58:33 2013 +0000
+++ b/gui/wm/ws.c	Sun Mar 31 22:13:32 2013 +0000
@@ -37,6 +37,7 @@
 #include "libvo/video_out.h"
 #include "libvo/x11_common.h"
 #include "mpbswap.h"
+#include "mplayer.h"
 #include "mp_core.h"
 #include "mp_msg.h"
 #include "osdep/timer.h"