diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-22 13:09:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-22 13:09:56 +0300 |
commit | bac4d10174da530427343e6238be16b8a8ee3ac8 (patch) | |
tree | 2b920dbf0ff67f4896619258cb0db032d6b2c851 /source/blender/blenkernel/BKE_screen.h | |
parent | fa12c089b125a8705310122d0022bf82f4d93972 (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/blenkernel/BKE_screen.h')
-rw-r--r-- | source/blender/blenkernel/BKE_screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_screen.h b/source/blender/blenkernel/BKE_screen.h index acb9814b64a..35bc40ded4c 100644 --- a/source/blender/blenkernel/BKE_screen.h +++ b/source/blender/blenkernel/BKE_screen.h @@ -57,7 +57,7 @@ typedef struct SpaceType { int iconid; /* icon lookup for menus */ /* initial allocation, after this WM will call init() too */ - struct SpaceLink *(*new)(void); + struct SpaceLink *(*new)(const struct bContext *C); /* not free spacelink itself */ void (*free)(struct SpaceLink *); |