diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-19 04:59:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-19 04:59:00 +0300 |
commit | 2fa7e81d9c455fa188a291db4d1fd918592d3676 (patch) | |
tree | de4a6ba456bcf2e9f319a68044e441c20cced750 /source/blender/editors/include | |
parent | d144337098181d658ea30c2e263899de5c17966c (diff) |
Cleanup: use 'const' argument for parameter argument
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index 571f4e74c60..deb6b7502c7 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -143,8 +143,8 @@ void ED_area_do_msg_notify_tag_refresh(struct bContext *C, struct wmMsgSubscribeKey *msg_key, struct wmMsgSubscribeValue *msg_val); -void ED_area_do_mgs_subscribe_for_tool_header(struct wmRegionMessageSubscribeParams *params); -void ED_area_do_mgs_subscribe_for_tool_ui(struct wmRegionMessageSubscribeParams *params); +void ED_area_do_mgs_subscribe_for_tool_header(const struct wmRegionMessageSubscribeParams *params); +void ED_area_do_mgs_subscribe_for_tool_ui(const struct wmRegionMessageSubscribeParams *params); /* message bus */ void ED_region_message_subscribe(struct wmRegionMessageSubscribeParams *params); @@ -409,7 +409,7 @@ void ED_region_cache_draw_cached_segments(struct ARegion *region, /* area_utils.c */ void ED_region_generic_tools_region_message_subscribe( - struct wmRegionMessageSubscribeParams *params); + const struct wmRegionMessageSubscribeParams *params); int ED_region_generic_tools_region_snap_size(const struct ARegion *region, int size, int axis); /* area_query.c */ |