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:
authorTon Roosendaal <ton@blender.org>2008-12-22 13:09:56 +0300
committerTon Roosendaal <ton@blender.org>2008-12-22 13:09:56 +0300
commitbac4d10174da530427343e6238be16b8a8ee3ac8 (patch)
tree2b920dbf0ff67f4896619258cb0db032d6b2c851 /source/blender/editors/space_api
parentfa12c089b125a8705310122d0022bf82f4d93972 (diff)
2.5
Small area/space api fix: space->new() callbacks now require Context pointer. Too many cases you want to initialize stuff... Also: added dummy draw function for NLA channel region, was too ugly.
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r--source/blender/editors/space_api/spacetypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c
index e2f9ead8e59..ebfab2a8318 100644
--- a/source/blender/editors/space_api/spacetypes.c
+++ b/source/blender/editors/space_api/spacetypes.c
@@ -116,7 +116,7 @@ void ED_spacetypes_keymap(wmWindowManager *wm)
/* ****************************** space template *********************** */
/* allocate and init some vars */
-static SpaceLink *xxx_new(void)
+static SpaceLink *xxx_new(const bContext *C)
{
return NULL;
}