GNOME Bugzilla – Bug 780779
Port to GTask
Last modified: 2021-07-05 11:30:59 UTC
GSimpleAsyncResult and GIOScheduler usage has now started throwing deprecation warnings. We have quite a few of them, enough to make the build too noisy to detect actual problems. Let's port to GTask.
Created attachment 349074 [details] [review] documents: Prepare for future exceptions
Created attachment 349075 [details] [review] utils: Port gd_queue_thumbnail_job_for_file_async to GTask
Review of attachment 349074 [details] [review]: OK
Review of attachment 349075 [details] [review]: Just a couple of minor comments. ::: src/lib/gd-utils.c @@ +44,2 @@ GnomeDesktopThumbnailFactory *factory = NULL; + GError *error; Initialize the error here. @@ +74,3 @@ + g_quark_from_static_string ("gnome-desktop-error"), + 0, + "GnomeDesktopThumbnailFactory failed"); I'd just report a generic G_IO_ERROR_FAILED here, instead of using a new atom (i.e. we should not pretend to be gnome-desktop).
Created attachment 349242 [details] [review] utils: Port gd_queue_thumbnail_job_for_file_async to GTask
Review of attachment 349242 [details] [review]: Looks good.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-documents/-/issues/ Thank you for your understanding and your help.