Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-02-01 05:01:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-01 05:01:20 +0400
commit63419193546b677103345a6543f8f99c4192293f (patch)
tree64881b126797df89c146f5a1814710eecbddea02 /source/blender/windowmanager/WM_types.h
parenta2543d417313814993f62574d0d0c19c9d411975 (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.h2
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 ****************** */