diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-01 05:01:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-01 05:01:20 +0400 |
commit | 63419193546b677103345a6543f8f99c4192293f (patch) | |
tree | 64881b126797df89c146f5a1814710eecbddea02 /source/blender/windowmanager/WM_types.h | |
parent | a2543d417313814993f62574d0d0c19c9d411975 (diff) |
code cleanup: make wmEvent's 'const' in interface code (reduces manual checking that they are not modified).
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index 86fd4856f7e..bbaa655025b 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -188,7 +188,7 @@ enum { #define WM_UI_HANDLER_CONTINUE 0 #define WM_UI_HANDLER_BREAK 1 -typedef int (*wmUIHandlerFunc)(struct bContext *C, struct wmEvent *event, void *userdata); +typedef int (*wmUIHandlerFunc)(struct bContext *C, const struct wmEvent *event, void *userdata); typedef void (*wmUIHandlerRemoveFunc)(struct bContext *C, void *userdata); /* ************** Notifiers ****************** */ |