[gnome-boxes] downloader: Fix the documentation for the download method



commit 357c2dfcb35193dbb3878f997b4e9f6211100ba9
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Aug 24 19:30:25 2017 +0200

    downloader: Fix the documentation for the download method
    
    The cached_paths are not directories, but paths to a regular file.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786769

 src/downloader.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/downloader.vala b/src/downloader.vala
index 8894cea..14ae069 100644
--- a/src/downloader.vala
+++ b/src/downloader.vala
@@ -62,8 +62,8 @@ private class Boxes.Downloader : GLib.Object {
      * Downloads the given file.
      *
      * @param remote_file The remote file to download.
-     * @param cached_paths Array of cache directories. The file will be saved in the directory the
-     *                     first element points to.
+     * @param cached_paths Array of possible cache locations. If not found, the file will be saved
+     *                     to the location specified by the first element.
      * @param progress The ActivityProgress object to report progress to.
      * @param cancellable The Cancellable object for cancellation.
      *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]