diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-04 16:14:57 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-04 19:40:33 +0300 |
commit | 2bef8ca1b8e0e51f1e09216d2a42f7fc0b7d723a (patch) | |
tree | 0ab791a7f2d371c9f203a82d78538ce16203e90f /source/blender/editors/space_graph/space_graph.c | |
parent | 5a1aa5b935f036a0493badae8cb835d13265a5e1 (diff) |
Cleanup: pass window to listeners, instead of screen + workspace.
Diffstat (limited to 'source/blender/editors/space_graph/space_graph.c')
-rw-r--r-- | source/blender/editors/space_graph/space_graph.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c index 878c4815f73..c94f2b00db2 100644 --- a/source/blender/editors/space_graph/space_graph.c +++ b/source/blender/editors/space_graph/space_graph.c @@ -430,7 +430,7 @@ static void graph_buttons_region_draw(const bContext *C, ARegion *ar) } static void graph_region_listener( - bScreen *UNUSED(sc), ScrArea *UNUSED(sa), ARegion *ar, + wmWindow *UNUSED(win), ScrArea *UNUSED(sa), ARegion *ar, wmNotifier *wmn, const Scene *UNUSED(scene)) { /* context changes */ @@ -568,8 +568,7 @@ static void graph_region_message_subscribe( } /* editor level listener */ -static void graph_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier *wmn, Scene *UNUSED(scene), - WorkSpace *UNUSED(workspace)) +static void graph_listener(wmWindow *UNUSED(win), ScrArea *sa, wmNotifier *wmn, Scene *UNUSED(scene)) { SpaceIpo *sipo = (SpaceIpo *)sa->spacedata.first; |