Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-01-19 04:59:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-01-19 04:59:00 +0300
commit2fa7e81d9c455fa188a291db4d1fd918592d3676 (patch)
treede4a6ba456bcf2e9f319a68044e441c20cced750 /source/blender/editors/space_graph/space_graph.c
parentd144337098181d658ea30c2e263899de5c17966c (diff)
Cleanup: use 'const' argument for parameter argument
Diffstat (limited to 'source/blender/editors/space_graph/space_graph.c')
-rw-r--r--source/blender/editors/space_graph/space_graph.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c
index 2fab393b1b3..9f01773eadf 100644
--- a/source/blender/editors/space_graph/space_graph.c
+++ b/source/blender/editors/space_graph/space_graph.c
@@ -403,7 +403,7 @@ static void graph_buttons_region_draw(const bContext *C, ARegion *region)
ED_region_panels(C, region);
}
-static void graph_region_listener(wmRegionListenerParams *params)
+static void graph_region_listener(const wmRegionListenerParams *params)
{
ARegion *region = params->region;
wmNotifier *wmn = params->notifier;
@@ -469,7 +469,7 @@ static void graph_region_listener(wmRegionListenerParams *params)
}
}
-static void graph_region_message_subscribe(wmRegionMessageSubscribeParams *params)
+static void graph_region_message_subscribe(const wmRegionMessageSubscribeParams *params)
{
struct wmMsgBus *mbus = params->message_bus;
Scene *scene = params->scene;
@@ -545,7 +545,7 @@ static void graph_region_message_subscribe(wmRegionMessageSubscribeParams *param
}
/* editor level listener */
-static void graph_listener(wmSpaceTypeListenerParams *params)
+static void graph_listener(const wmSpaceTypeListenerParams *params)
{
ScrArea *area = params->area;
wmNotifier *wmn = params->notifier;