diff options
Diffstat (limited to 'source/blender/windowmanager/wm_files.h')
-rw-r--r-- | source/blender/windowmanager/wm_files.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/windowmanager/wm_files.h b/source/blender/windowmanager/wm_files.h index 8b3f1ead215..e75626a4f30 100644 --- a/source/blender/windowmanager/wm_files.h +++ b/source/blender/windowmanager/wm_files.h @@ -40,15 +40,15 @@ void wm_homefile_read(struct bContext *C, bool *r_is_factory_startup); void wm_file_read_report(bContext *C, struct Main *bmain); -typedef struct GenericCallback { +typedef struct wmGenericCallback { void (*exec)(bContext *C, void *user_data); void *user_data; void (*free_user_data)(void *user_data); -} GenericCallback; +} wmGenericCallback; -GenericCallback *wm_generic_callback_steal(GenericCallback *callback); -void wm_generic_callback_free(GenericCallback *callback); -void wm_close_file_dialog(bContext *C, GenericCallback *post_action); +wmGenericCallback *wm_generic_callback_steal(wmGenericCallback *callback); +void wm_generic_callback_free(wmGenericCallback *callback); +void wm_close_file_dialog(bContext *C, wmGenericCallback *post_action); bool wm_file_or_image_is_modified(const struct bContext *C); void WM_OT_save_homefile(struct wmOperatorType *ot); |