StTextureCache: Fix a fallout from GTask port
Set the task data that load_pixbuf_thread func expects. https://bugzilla.gnome.org/show_bug.cgi?id=757418
This commit is contained in:
parent
aacdd4fd5e
commit
df0b465e76
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user