[MPlayer-cvslog] r36120 - in trunk/gui: dialog/dialog.h dialog/playlist.c dialog/preferences.c dialog/skinbrowser.c wm/ws.c

ib subversion at mplayerhq.hu
Mon Apr 1 00:13:32 CEST 2013


Author: ib
Date: Mon Apr  1 00:13:32 2013
New Revision: 36120

Log:
Remove unnecessary #includes.

Put #includes where they are needed.

Modified:
   trunk/gui/dialog/dialog.h
   trunk/gui/dialog/playlist.c
   trunk/gui/dialog/preferences.c
   trunk/gui/dialog/skinbrowser.c
   trunk/gui/wm/ws.c

Modified: trunk/gui/dialog/dialog.h
==============================================================================
--- trunk/gui/dialog/dialog.h	Sun Mar 31 23:58:33 2013	(r36119)
+++ trunk/gui/dialog/dialog.h	Mon Apr  1 00:13:32 2013	(r36120)
@@ -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

Modified: trunk/gui/dialog/playlist.c
==============================================================================
--- trunk/gui/dialog/playlist.c	Sun Mar 31 23:58:33 2013	(r36119)
+++ trunk/gui/dialog/playlist.c	Mon Apr  1 00:13:32 2013	(r36120)
@@ -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"

Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c	Sun Mar 31 23:58:33 2013	(r36119)
+++ trunk/gui/dialog/preferences.c	Mon Apr  1 00:13:32 2013	(r36120)
@@ -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"

Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c	Sun Mar 31 23:58:33 2013	(r36119)
+++ trunk/gui/dialog/skinbrowser.c	Mon Apr  1 00:13:32 2013	(r36120)
@@ -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"
 

Modified: trunk/gui/wm/ws.c
==============================================================================
--- trunk/gui/wm/ws.c	Sun Mar 31 23:58:33 2013	(r36119)
+++ trunk/gui/wm/ws.c	Mon Apr  1 00:13:32 2013	(r36120)
@@ -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"


More information about the MPlayer-cvslog mailing list