Update AsyncTask.vala

Fix error when building from source
Utility/AsyncTask.vala:76.2-76.17: error: Creation method of abstract class cannot be public.
public AsyncTask(){
^^^^^^^^^^^^^^^^
This commit is contained in:
wesaphzt 2019-09-11 11:39:29 +00:00 committed by GitHub
parent ded2723053
commit 1eb8fe0213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ public abstract class AsyncTask : GLib.Object{
public signal void stderr_line_read(string line);
public signal void task_complete();
public AsyncTask(){
protected AsyncTask(){
working_dir = TEMP_DIR + "/" + timestamp_for_path();
script_file = path_combine(working_dir, "script.sh");
log_file = path_combine(working_dir, "task.log");