Skip to content
Commit eb5d2b9b authored by Sergio Costas's avatar Sergio Costas Committed by Sergio Costas
Browse files

Add ASYNC methods for thumbnail creation

This MR adds async versions for the following methods:

 gnome_desktop_thumbnail_factory_generate_thumbnail
 gnome_desktop_thumbnail_factory_save_thumbnail
 gnome_desktop_thumbnail_factory_create_failed_thumbnail

This is useful to avoid blocking the main loop while creating
the thumbnails (which is an operation that can last too much
time), and allows to do it in Javascript, where is not possible
to create a thread in a GTask.

Fix https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/205
parent 7581f12f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment