diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-30 21:55:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-30 22:47:51 +0400 |
commit | 4ca67869cc7ad480670d60eae1df3d2aca03f016 (patch) | |
tree | 24ff34491b5e51a3301b49ffc10aa9c1c5211c30 /source/blender/windowmanager/intern | |
parent | 19cd6922a5785584d741126141f336b9bae1e032 (diff) |
Code cleanup: remove unused includes
Opted to keep includes if they are used indirectly (even if removing is possible).
Diffstat (limited to 'source/blender/windowmanager/intern')
-rw-r--r-- | source/blender/windowmanager/intern/wm.c | 1 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_dragdrop.c | 5 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_draw.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 9 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 6 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_jobs.c | 5 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_keymap.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 1 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_playanim.c | 3 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_subwindow.c | 2 |
11 files changed, 0 insertions, 38 deletions
diff --git a/source/blender/windowmanager/intern/wm.c b/source/blender/windowmanager/intern/wm.c index 3c7a7676a63..28bddb47778 100644 --- a/source/blender/windowmanager/intern/wm.c +++ b/source/blender/windowmanager/intern/wm.c @@ -47,7 +47,6 @@ #include "BLI_blenlib.h" #include "BLI_ghash.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_idprop.h" #include "BKE_library.h" diff --git a/source/blender/windowmanager/intern/wm_dragdrop.c b/source/blender/windowmanager/intern/wm_dragdrop.c index 7675d4d4418..2aa177602cb 100644 --- a/source/blender/windowmanager/intern/wm_dragdrop.c +++ b/source/blender/windowmanager/intern/wm_dragdrop.c @@ -44,13 +44,8 @@ #include "BIF_gl.h" #include "BIF_glutil.h" -#include "BKE_blender.h" #include "BKE_context.h" -#include "BKE_idprop.h" -#include "BKE_library.h" -#include "BKE_main.h" #include "BKE_screen.h" -#include "BKE_global.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c index e3a67c3824e..96824eca578 100644 --- a/source/blender/windowmanager/intern/wm_draw.c +++ b/source/blender/windowmanager/intern/wm_draw.c @@ -49,8 +49,6 @@ #include "BIF_gl.h" #include "BKE_context.h" -#include "BKE_global.h" -#include "BKE_screen.h" #include "GHOST_C-api.h" diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index 9d04beac5ee..55f18661712 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -51,7 +51,6 @@ #include "BLI_utildefines.h" #include "BLI_math.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_idprop.h" #include "BKE_global.h" @@ -64,7 +63,6 @@ #include "ED_fileselect.h" #include "ED_info.h" -#include "ED_render.h" #include "ED_screen.h" #include "ED_view3d.h" #include "ED_util.h" diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index c4d08e7e900..997bb12d711 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -62,7 +62,6 @@ #include "BLF_translation.h" -#include "DNA_anim_types.h" #include "DNA_object_types.h" #include "DNA_space_types.h" #include "DNA_userdef_types.h" @@ -75,18 +74,12 @@ #include "BKE_blender.h" #include "BKE_context.h" #include "BKE_depsgraph.h" -#include "BKE_DerivedMesh.h" -#include "BKE_font.h" #include "BKE_global.h" -#include "BKE_library.h" #include "BKE_main.h" -#include "BKE_multires.h" #include "BKE_packedFile.h" #include "BKE_report.h" #include "BKE_sound.h" #include "BKE_screen.h" -#include "BKE_texture.h" - #include "BLO_readfile.h" #include "BLO_writefile.h" @@ -99,9 +92,7 @@ #include "ED_datafiles.h" #include "ED_fileselect.h" -#include "ED_object.h" #include "ED_screen.h" -#include "ED_sculpt.h" #include "ED_view3d.h" #include "ED_util.h" diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index d4a23dcc8b6..5dafadc5a47 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -39,12 +39,10 @@ #endif #include "MEM_guardedalloc.h" -#include "MEM_CacheLimiterC-Api.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" -#include "DNA_object_types.h" #include "DNA_scene_types.h" #include "DNA_userdef_types.h" #include "DNA_windowmanager_types.h" @@ -59,10 +57,7 @@ #include "BKE_blender.h" #include "BKE_context.h" #include "BKE_screen.h" -#include "BKE_curve.h" -#include "BKE_displist.h" #include "BKE_DerivedMesh.h" -#include "BKE_font.h" #include "BKE_global.h" #include "BKE_library.h" #include "BKE_main.h" @@ -71,7 +66,6 @@ #include "BKE_report.h" #include "BKE_addon.h" -#include "BKE_packedFile.h" #include "BKE_sequencer.h" /* free seq clipboard */ #include "BKE_material.h" /* clear_matcopybuf */ #include "BKE_tracking.h" /* free tracking clipboard */ diff --git a/source/blender/windowmanager/intern/wm_jobs.c b/source/blender/windowmanager/intern/wm_jobs.c index 7c0d7bf3606..74c504050ae 100644 --- a/source/blender/windowmanager/intern/wm_jobs.c +++ b/source/blender/windowmanager/intern/wm_jobs.c @@ -40,13 +40,8 @@ #include "BLI_threads.h" #include "BLI_utildefines.h" -#include "BKE_blender.h" #include "BKE_context.h" -#include "BKE_idprop.h" #include "BKE_global.h" -#include "BKE_library.h" -#include "BKE_main.h" -#include "BKE_report.h" #include "WM_api.h" #include "WM_types.h" diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c index c0326e3582b..0163517545f 100644 --- a/source/blender/windowmanager/intern/wm_keymap.c +++ b/source/blender/windowmanager/intern/wm_keymap.c @@ -43,11 +43,9 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BKE_blender.h" #include "BKE_context.h" #include "BKE_idprop.h" #include "BKE_global.h" -#include "BKE_library.h" #include "BKE_main.h" #include "BKE_screen.h" diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 6cd4b898428..7b00b704cd1 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -91,7 +91,6 @@ #include "ED_screen.h" #include "ED_util.h" -#include "ED_object.h" #include "ED_view3d.h" #include "RNA_access.h" diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c index 6bacd399767..445ba7344d3 100644 --- a/source/blender/windowmanager/intern/wm_playanim.c +++ b/source/blender/windowmanager/intern/wm_playanim.c @@ -53,15 +53,12 @@ #include "BLI_fileops.h" #include "BLI_listbase.h" #include "BLI_path_util.h" -#include "BLI_rect.h" #include "BLI_string.h" #include "IMB_imbuf_types.h" #include "IMB_imbuf.h" -#include "BKE_blender.h" #include "BKE_depsgraph.h" -#include "BKE_global.h" #include "BKE_image.h" #include "BIF_gl.h" diff --git a/source/blender/windowmanager/intern/wm_subwindow.c b/source/blender/windowmanager/intern/wm_subwindow.c index ecf22fea454..1792ea40a1a 100644 --- a/source/blender/windowmanager/intern/wm_subwindow.c +++ b/source/blender/windowmanager/intern/wm_subwindow.c @@ -45,9 +45,7 @@ #include "BLI_math.h" #include "BLI_utildefines.h" - #include "BKE_context.h" -#include "BKE_global.h" #include "BIF_gl.h" |