dir: Don't prune refs immediately after calling flatpak_dir_remove_ref

It might be more efficient to perform this operation at the end of
removing a batch of refs, so perform it there instead.

Closes: #1034
Approved by: alexlarsson
This commit is contained in:
Sam Spilsbury
2017-09-27 14:38:52 +08:00
committed by Atomic Bot
parent 96b4c5ed13
commit 27a76acb5d

View File

@@ -7020,7 +7020,7 @@ flatpak_dir_remove_ref (FlatpakDir *self,
error))
return FALSE;
return flatpak_dir_prune (self, cancellable, error);
return TRUE;
}
gboolean