changeset 35450:31a5320909f7

Don't include config.h if not necessary.
author ib
date Fri, 30 Nov 2012 23:30:47 +0000
parents 07b1f01495ee
children 29f66b254dd7
files gui/interface.h gui/skin/skin.c gui/ui/gtk/equalizer.c gui/ui/gtk/msgbox.c gui/ui/gtk/playlist.c gui/ui/gtk/skinbrowser.c gui/ui/menu.c gui/ui/playbar.c gui/ui/render.c gui/ui/video.c gui/ui/widgets.h gui/win32/gui.c gui/win32/gui.h gui/wm/ws.h
diffstat 14 files changed, 2 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.h	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/interface.h	Fri Nov 30 23:30:47 2012 +0000
@@ -19,7 +19,6 @@
 #ifndef MPLAYER_GUI_INTERFACE_H
 #define MPLAYER_GUI_INTERFACE_H
 
-#include "config.h"
 #include "libaf/af.h"
 #include "libmpdemux/stheader.h"
 #include "m_config.h"
--- a/gui/skin/skin.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/skin/skin.c	Fri Nov 30 23:30:47 2012 +0000
@@ -32,7 +32,6 @@
 #include "gui/util/cut.h"
 #include "gui/util/string.h"
 
-#include "config.h"
 #include "help_mp.h"
 #include "libavutil/avstring.h"
 #include "libavutil/common.h"
--- a/gui/ui/gtk/equalizer.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/gtk/equalizer.c	Fri Nov 30 23:30:47 2012 +0000
@@ -26,7 +26,6 @@
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
 
-#include "config.h"
 #include "gui/app.h"
 #include "gui/cfg.h"
 #include "gui/interface.h"
--- a/gui/ui/gtk/msgbox.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/gtk/msgbox.c	Fri Nov 30 23:30:47 2012 +0000
@@ -18,7 +18,6 @@
 
 #include <string.h>
 
-#include "config.h"
 #include "gui/app.h"
 #include "help_mp.h"
 
--- a/gui/ui/gtk/playlist.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/gtk/playlist.c	Fri Nov 30 23:30:47 2012 +0000
@@ -27,7 +27,6 @@
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
 
-#include "config.h"
 #include "help_mp.h"
 #include "stream/stream.h"
 
--- a/gui/ui/gtk/skinbrowser.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/gtk/skinbrowser.c	Fri Nov 30 23:30:47 2012 +0000
@@ -23,7 +23,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 
-#include "config.h"
 #include "skinbrowser.h"
 #include "tools.h"
 
--- a/gui/ui/menu.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/menu.c	Fri Nov 30 23:30:47 2012 +0000
@@ -23,7 +23,6 @@
 #include <stdint.h>
 #include <string.h>
 
-#include "config.h"
 #include "help_mp.h"
 #include "mp_msg.h"
 #include "gui/app.h"
--- a/gui/ui/playbar.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/playbar.c	Fri Nov 30 23:30:47 2012 +0000
@@ -24,7 +24,6 @@
 #include <unistd.h>
 #include <string.h>
 
-#include "config.h"
 #include "gui/app.h"
 #include "gui/interface.h"
 #include "gui/skin/font.h"
--- a/gui/ui/render.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/render.c	Fri Nov 30 23:30:47 2012 +0000
@@ -28,7 +28,6 @@
 
 #include "access_mpcontext.h"
 #include "codec-cfg.h"
-#include "config.h"
 #include "libavutil/avstring.h"
 #include "libmpdemux/stheader.h"
 #include "mixer.h"
--- a/gui/ui/video.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/video.c	Fri Nov 30 23:30:47 2012 +0000
@@ -20,7 +20,6 @@
 
 #include <string.h>
 
-#include "config.h"
 #include "libvo/x11_common.h"
 #include "help_mp.h"
 #include "mp_core.h"
--- a/gui/ui/widgets.h	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/ui/widgets.h	Fri Nov 30 23:30:47 2012 +0000
@@ -26,7 +26,6 @@
 #include <X11/Xlib.h>
 #include <X11/Xproto.h>
 
-#include "config.h"
 #include "osdep/shmem.h"
 #include "actions.h"
 #include "mplayer.h"
--- a/gui/win32/gui.c	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/win32/gui.c	Fri Nov 30 23:30:47 2012 +0000
@@ -29,6 +29,7 @@
 #include <windowsx.h>
 #include <shlobj.h>
 
+#include "config.h"
 #include "mpcommon.h"
 #include "mplayer.h"
 #include "mp_fifo.h"
--- a/gui/win32/gui.h	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/win32/gui.h	Fri Nov 30 23:30:47 2012 +0000
@@ -24,7 +24,6 @@
 #ifndef MPLAYER_GUI_GUI_H
 #define MPLAYER_GUI_GUI_H
 
-#include "config.h"
 #include "mplayer.h"
 #include "playtree.h"
 #include "m_config.h"
--- a/gui/wm/ws.h	Fri Nov 30 22:16:16 2012 +0000
+++ b/gui/wm/ws.h	Fri Nov 30 23:30:47 2012 +0000
@@ -23,6 +23,7 @@
 #define MPLAYER_GUI_WS_H
 
 #include "gui/ui/widgets.h"
+#include "config.h"
 
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>