Sculpt Branch:
[blender-staging.git] / source / blender / windowmanager / intern / wm_files.c
index 154ac10c324a47385756dbdfb51fd8112810ae20..87e4048971b2a4a753c68fa7bb5f3dbee88c23bc 100644 (file)
@@ -571,9 +571,8 @@ void wm_autosave_location(char *filename)
        BLI_make_file_string("/", filename, U.tempdir, pidstr);
 }
 
-void WM_autosave_init(bContext *C)
+void WM_autosave_init(wmWindowManager *wm)
 {
-       wmWindowManager *wm= CTX_wm_manager(C);
        wm_autosave_timer_ended(wm);
 
        if(U.flag & USER_AUTOSAVE)