diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-27 05:50:43 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-27 05:54:26 +0300 |
commit | de1a2d7988f4567f41fba431d6be2b6446d28305 (patch) | |
tree | 8bc19c6015478c39e5d9e4467417fe0a60f8ecc3 /source/blender/editors/space_graph | |
parent | 578dff786362ba0d1426d1d3d15d579886c0f4fd (diff) |
Cleanup: pass notifiers as const
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/space_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c index ea2e2e44b90..6a3db21cbaa 100644 --- a/source/blender/editors/space_graph/space_graph.c +++ b/source/blender/editors/space_graph/space_graph.c @@ -393,7 +393,7 @@ static void graph_buttons_region_draw(const bContext *C, ARegion *region) static void graph_region_listener(const wmRegionListenerParams *params) { ARegion *region = params->region; - wmNotifier *wmn = params->notifier; + const wmNotifier *wmn = params->notifier; /* context changes */ switch (wmn->category) { @@ -529,7 +529,7 @@ static void graph_region_message_subscribe(const wmRegionMessageSubscribeParams static void graph_listener(const wmSpaceTypeListenerParams *params) { ScrArea *area = params->area; - wmNotifier *wmn = params->notifier; + const wmNotifier *wmn = params->notifier; SpaceGraph *sipo = (SpaceGraph *)area->spacedata.first; /* context changes */ |