Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-03-01 16:52:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-01 16:53:39 +0300
commit33b03f7f68922efada6ec7518c4fa60e9acb620a (patch)
tree369a3c221b204ea027337c94c523994b10c617d9 /source/blender/editors/interface/resources.c
parent3804636ee57b58c0ca02dd5360f6df62603ae929 (diff)
Cleanup: move theme reset into it's own operator file
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r--source/blender/editors/interface/resources.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index eaa3da8c305..48b24da8f5c 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -744,9 +744,8 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid)
* \note: when you add new colors, created & saved themes need initialized
* use function below, init_userdef_do_versions()
*/
-void ui_theme_init_default(void)
+void UI_theme_init_default(void)
{
-
/* we search for the theme with name Default */
bTheme *btheme = BLI_findstring(&U.themes, "Default", offsetof(bTheme, name));
if (btheme == NULL) {
@@ -761,7 +760,7 @@ void ui_theme_init_default(void)
btheme->active_theme_area = active_theme_area;
}
-void ui_style_init_default(void)
+void UI_style_init_default(void)
{
BLI_freelistN(&U.uistyles);
/* gets automatically re-allocated */