changeset 33738:998f94e62a61

Remove unnecessary #include "gui/interface.h". Add necessary #includes instead.
author ib
date Thu, 07 Jul 2011 08:48:46 +0000
parents 71c29e8ec68f
children 9f6d46d325de
files gui/ui/gtk/equalizer.c gui/ui/gtk/menu.c gui/ui/gtk/msgbox.c gui/ui/gtk/skinbrowser.c gui/ui/main.c gui/ui/menu.c gui/ui/playbar.c gui/ui/widgets.h
diffstat 8 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/equalizer.c	Thu Jul 07 08:32:10 2011 +0000
+++ b/gui/ui/gtk/equalizer.c	Thu Jul 07 08:48:46 2011 +0000
@@ -29,6 +29,7 @@
 #include "config.h"
 #include "gui/app.h"
 #include "gui/cfg.h"
+#include "gui/interface.h"
 #include "help_mp.h"
 #include "libaf/equalizer.h"
 #include "libavutil/common.h"
--- a/gui/ui/gtk/menu.c	Thu Jul 07 08:32:10 2011 +0000
+++ b/gui/ui/gtk/menu.c	Thu Jul 07 08:48:46 2011 +0000
@@ -30,6 +30,7 @@
 #include "gui/ui/widgets.h"
 #include "gui/ui/gmplayer.h"
 #include "gui/app.h"
+#include "gui/interface.h"
 
 #include "stream/stream.h"
 #include "libmpdemux/demuxer.h"
--- a/gui/ui/gtk/msgbox.c	Thu Jul 07 08:32:10 2011 +0000
+++ b/gui/ui/gtk/msgbox.c	Thu Jul 07 08:48:46 2011 +0000
@@ -16,6 +16,8 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include <string.h>
+
 #include "config.h"
 #include "gui/app.h"
 #include "help_mp.h"
--- a/gui/ui/gtk/skinbrowser.c	Thu Jul 07 08:32:10 2011 +0000
+++ b/gui/ui/gtk/skinbrowser.c	Thu Jul 07 08:48:46 2011 +0000
@@ -28,6 +28,7 @@
 #include "tools.h"
 
 #include "gui/app.h"
+#include "gui/interface.h"
 #include "help_mp.h"
 
 #include "gui/ui/widgets.h"
--- a/gui/ui/main.c	Thu Jul 07 08:32:10 2011 +0000
+++ b/gui/ui/main.c	Thu Jul 07 08:48:46 2011 +0000
@@ -27,6 +27,7 @@
 #include "config.h"
 #include "gmplayer.h"
 #include "gui/app.h"
+#include "gui/interface.h"
 #include "gui/skin/font.h"
 #include "gui/skin/skin.h"
 #include "gui/util/string.h"
--- a/gui/ui/menu.c	Thu Jul 07 08:32:10 2011 +0000
+++ b/gui/ui/menu.c	Thu Jul 07 08:48:46 2011 +0000
@@ -19,6 +19,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdint.h>
+#include <string.h>
 
 #include "config.h"
 #include "help_mp.h"
--- a/gui/ui/playbar.c	Thu Jul 07 08:32:10 2011 +0000
+++ b/gui/ui/playbar.c	Thu Jul 07 08:48:46 2011 +0000
@@ -26,6 +26,7 @@
 
 #include "config.h"
 #include "gui/app.h"
+#include "gui/interface.h"
 #include "gui/skin/font.h"
 #include "gui/skin/skin.h"
 #include "gui/wm/ws.h"
--- a/gui/ui/widgets.h	Thu Jul 07 08:32:10 2011 +0000
+++ b/gui/ui/widgets.h	Thu Jul 07 08:48:46 2011 +0000
@@ -30,7 +30,6 @@
 #include "osdep/shmem.h"
 #include "actions.h"
 #include "mplayer.h"
-#include "gui/interface.h"
 
 #define GTK_MB_SIMPLE 0
 #define GTK_MB_MODAL 1