diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-01-16 23:51:05 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-01-17 00:28:03 +0300 |
commit | 05734d57e1be749973ab4eb6bdafe9daa6c5b899 (patch) | |
tree | f645861f57de0759fb6dfac2de952b9dafa531b7 /source/blender/windowmanager/WM_api.h | |
parent | 33fd81e5e639f5711c2989fb102e61841fea2845 (diff) |
WM: remove unnecessary context argument from WM_report, no good reason to have it.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 3f89140888b..7100a46b622 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -194,9 +194,9 @@ void WM_main_remove_notifier_reference(const void *reference); void WM_main_remove_editor_id_reference(const struct ID *id); /* reports */ -void WM_report_banner_show(const struct bContext *C); -void WM_report(const struct bContext *C, ReportType type, const char *message); -void WM_reportf(const struct bContext *C, ReportType type, const char *format, ...) ATTR_PRINTF_FORMAT(3, 4); +void WM_report_banner_show(void); +void WM_report(ReportType type, const char *message); +void WM_reportf(ReportType type, const char *format, ...) ATTR_PRINTF_FORMAT(2, 3); void wm_event_add_ex( struct wmWindow *win, const struct wmEvent *event_to_add, |