From f7ca86369da89a6726bc9edc9bf4e875b2b43c46 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Tue, 4 Feb 2020 19:51:35 +0100 Subject: Reports: Add utility to cancel displayed reports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sebastián Barschkis needs something like this to fix an issue, so he asked me to add this to the release branch. It's unused for now. --- source/blender/windowmanager/WM_api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/windowmanager/WM_api.h') diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index d24157a22a6..e128f87f5b7 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -309,6 +309,7 @@ void WM_main_remap_editor_id_reference(struct ID *old_id, struct ID *new_id); /* reports */ void WM_report_banner_show(void); +void WM_report_banners_cancel(struct Main *bmain); void WM_report(ReportType type, const char *message); void WM_reportf(ReportType type, const char *format, ...) ATTR_PRINTF_FORMAT(2, 3); -- cgit v1.2.3