From de1a2d7988f4567f41fba431d6be2b6446d28305 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 27 Aug 2022 12:50:43 +1000 Subject: Cleanup: pass notifiers as const --- source/blender/editors/space_statusbar/space_statusbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_statusbar') diff --git a/source/blender/editors/space_statusbar/space_statusbar.c b/source/blender/editors/space_statusbar/space_statusbar.c index 273c0375fb0..9c64235870c 100644 --- a/source/blender/editors/space_statusbar/space_statusbar.c +++ b/source/blender/editors/space_statusbar/space_statusbar.c @@ -83,7 +83,7 @@ static void statusbar_keymap(struct wmKeyConfig *UNUSED(keyconf)) static void statusbar_header_region_listener(const wmRegionListenerParams *params) { ARegion *region = params->region; - wmNotifier *wmn = params->notifier; + const wmNotifier *wmn = params->notifier; /* context changes */ switch (wmn->category) { -- cgit v1.2.3