[totem] grilo: Make thumbnail reading cancellable



commit c0b1a9ae18a90fe0308e0689f2775c43759e0694
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Apr 24 15:58:23 2015 +0200

    grilo: Make thumbnail reading cancellable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748370

 src/icon-helpers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/icon-helpers.c b/src/icon-helpers.c
index db50752..53d923e 100644
--- a/src/icon-helpers.c
+++ b/src/icon-helpers.c
@@ -331,7 +331,7 @@ totem_grilo_get_thumbnail (GObject             *object,
 
        file = g_file_new_for_uri (url_thumb);
        g_task_set_task_data (task, file, g_object_unref);
-       g_file_read_async (file, G_PRIORITY_DEFAULT, NULL,
+       g_file_read_async (file, G_PRIORITY_DEFAULT, cancellable,
                           get_stream_thumbnail_cb, task);
 }
 


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