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>2019-05-19 07:56:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-19 07:56:49 +0300
commitf2eef452009f5958bbf783f9970534c3349fc753 (patch)
treebab7b17cdb3b85b0c41e52e82fad8774d328c333 /source/blender/windowmanager/intern/wm_window.c
parent7decb9ad080eef002c6093581d486727836dbbf0 (diff)
Cleanup: use wm prefix for GenericCallback
Without this it's not clear what kinds of data this deals with.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 1ac23754972..7ae572e5685 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -368,7 +368,7 @@ static void wm_save_file_on_quit_dialog_callback(bContext *C, void *UNUSED(user_
*/
static void wm_confirm_quit(bContext *C)
{
- GenericCallback *action = MEM_callocN(sizeof(*action), __func__);
+ wmGenericCallback *action = MEM_callocN(sizeof(*action), __func__);
action->exec = wm_save_file_on_quit_dialog_callback;
wm_close_file_dialog(C, action);
}