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_text/space_text.c | |
parent | 5a1aa5b935f036a0493badae8cb835d13265a5e1 (diff) |
Cleanup: pass window to listeners, instead of screen + workspace.
Diffstat (limited to 'source/blender/editors/space_text/space_text.c')
-rw-r--r-- | source/blender/editors/space_text/space_text.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c index c3e2945f3ff..ac43d7de408 100644 --- a/source/blender/editors/space_text/space_text.c +++ b/source/blender/editors/space_text/space_text.c @@ -126,8 +126,7 @@ static SpaceLink *text_duplicate(SpaceLink *sl) return (SpaceLink *)stextn; } -static void text_listener(bScreen *UNUSED(sc), ScrArea *sa, wmNotifier *wmn, Scene *UNUSED(scene), - WorkSpace *UNUSED(workspace)) +static void text_listener(wmWindow *UNUSED(win), ScrArea *sa, wmNotifier *wmn, Scene *UNUSED(scene)) { SpaceText *st = sa->spacedata.first; |