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:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-05-11 17:53:21 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-05-11 17:53:21 +0300
commit6a53fd55480e43435a91f6a3ce86205865ed2641 (patch)
tree00d7463dd745dc16afdb2612abc8418c6b4f1656 /source/blender/editors/space_file/space_file.c
parentecbcbdac2f03905c63f77ab4272f96a1072f07bd (diff)
Revert "Depsgraph: Rename SPaceType->new to SpaceType->alloc"
Use alternative and less intrusive approach for dealing with "new" keyword. This reverts commit c13455e3328c60fae2deecd7a9d8f0d827715f32.
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r--source/blender/editors/space_file/space_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index fad5cdb1834..782b318b8a2 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -605,7 +605,7 @@ void ED_spacetype_file(void)
st->spaceid = SPACE_FILE;
strncpy(st->name, "File", BKE_ST_MAXNAME);
- st->alloc = file_new;
+ st->new = file_new;
st->free = file_free;
st->init = file_init;
st->exit = file_exit;