diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-20 11:39:25 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-20 11:39:25 +0400 |
commit | 6d125e159d2c391fd92d20bd29bc5c8c33b7dcc2 (patch) | |
tree | 408d10d9a473158cf49812a0a229cb51e18ba7b7 /source/blender/windowmanager | |
parent | 0e421f429ab9c6a6d041c7feb52e84826abe6c65 (diff) |
i18n: code clean-up
- Move all translation-related declarations to BLF_translation.h
- Reverted some changes to match trunk svn rev40365
Diffstat (limited to 'source/blender/windowmanager')
4 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 0fef66d48c7..f862af6173a 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -59,7 +59,7 @@ #include "BLI_utildefines.h" #include "BLI_callbacks.h" -#include "BLF_api.h" +#include "BLF_translation.h" #include "DNA_anim_types.h" #include "DNA_ipo_types.h" // XXX old animation system diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 32f7e404a0a..f114b19debb 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -99,6 +99,7 @@ #include "UI_interface.h" #include "BLF_api.h" +#include "BLF_translation.h" #include "GPU_buffers.h" #include "GPU_extensions.h" @@ -400,6 +401,7 @@ void WM_exit(bContext *C) free_posebuf(); BLF_exit(); + BLF_free_unifont(); ANIM_keyingset_infos_exit(); diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index ff4aeef9339..320dc2ecdda 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -49,7 +49,7 @@ #include "DNA_userdef_types.h" #include "DNA_windowmanager_types.h" -#include "BLF_api.h" +#include "BLF_translation.h" #include "PIL_time.h" diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 073b5824ae1..d9ca275c819 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -48,7 +48,7 @@ #include "BLI_blenlib.h" #include "BLI_utildefines.h" -#include "BLF_api.h" +#include "BLF_translation.h" #include "BKE_blender.h" #include "BKE_context.h" |