Commit c7b2c762 authored by Michael Terry's avatar Michael Terry

More valac fixes

parent c0a10196
Pipeline #52762 passed with stages
in 11 minutes and 36 seconds
......@@ -29,11 +29,9 @@ public class AssistantRestore : AssistantOperation
return this._restore_files;
}
set {
foreach (File f in this._restore_files)
f.unref();
this._restore_files = value.copy();
foreach (File f in this._restore_files)
f.ref();
this._restore_files = null;
foreach (File f in value)
this._restore_files.append(f);
}
}
......
......@@ -207,7 +207,9 @@ public class AssistantRestoreMissing : AssistantRestore {
{
if (page == confirm_page) {
scan_queue = false;
restore_files_remaining = restore_files.copy();
restore_files_remaining = null;
foreach (File f in restore_files)
restore_files_remaining.append(f);
}
else if (page == listfiles_page) {
list_dir_label.label = display_directory.get_parse_name();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment