diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index d4a4ee9f4..88c6bf3ec 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -575,6 +575,7 @@ load_texture_async (StTextureCache *cache, if (data->file) { GTask *task = g_task_new (cache, NULL, on_pixbuf_loaded, data); + g_task_set_task_data (task, data, NULL); g_task_run_in_thread (task, load_pixbuf_thread); g_object_unref (task); }