From bac4d10174da530427343e6238be16b8a8ee3ac8 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 22 Dec 2008 10:09:56 +0000 Subject: 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. --- source/blender/editors/space_api/spacetypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_api') 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; } -- cgit v1.2.3