diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-02 04:42:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-02 04:45:46 +0300 |
commit | c4962d9303c6276dfe15e12f992de2e988555b04 (patch) | |
tree | 1cdb2ff5804f503aadb45681c4f5a54fe9bba901 /source/blender/makesrna/intern | |
parent | 1bea76dd6a9fa88be0a3539517d9b266d0462fba (diff) |
Cleanup: use WM_keymap_item_* prefix
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_wm.c | 4 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_wm_api.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index 34faf13fa7e..3f904df6e00 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -847,7 +847,7 @@ static int rna_wmKeyMapItem_map_type_get(PointerRNA *ptr) { wmKeyMapItem *kmi = ptr->data; - return WM_keymap_map_type_get(kmi); + return WM_keymap_item_map_type_get(kmi); } static void rna_wmKeyMapItem_map_type_set(PointerRNA *ptr, int value) @@ -1169,7 +1169,7 @@ static void rna_wmKeyMapItem_idname_set(PointerRNA *ptr, const char *value) if (!STREQ(idname, kmi->idname)) { BLI_strncpy(kmi->idname, idname, sizeof(kmi->idname)); - WM_keymap_properties_reset(kmi, NULL); + WM_keymap_item_properties_reset(kmi, NULL); } } diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c index 3e7d16c636e..e4caeb2a5ae 100644 --- a/source/blender/makesrna/intern/rna_wm_api.c +++ b/source/blender/makesrna/intern/rna_wm_api.c @@ -82,7 +82,7 @@ static wmKeyMap *rna_keymap_active(wmKeyMap *km, bContext *C) static void rna_keymap_restore_item_to_default(wmKeyMap *km, bContext *C, wmKeyMapItem *kmi) { - WM_keymap_restore_item_to_default(C, km, kmi); + WM_keymap_item_restore_to_default(C, km, kmi); } static void rna_Operator_report(wmOperator *op, int type, const char *msg) |