Skip to content

Commit

Permalink
StTextureCache: Fix a fallout from GTask port
Browse files Browse the repository at this point in the history
Set the task data that load_pixbuf_thread func expects.

https://bugzilla.gnome.org/show_bug.cgi?id=757418
  • Loading branch information
kalev committed Oct 31, 2015
1 parent aacdd4f commit df0b465
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/st/st-texture-cache.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit df0b465

Please sign in to comment.