GNOME Bugzilla – Bug 712704
Port to GTask
Last modified: 2013-12-19 02:29:28 UTC
The current GLib requirement is high enough for us to be able to use GTask. GTask (particularly see g_task_set_return_on_cancel) lets you add cancellability to uncancellable tasks, which would be useful in some cases. See bug 712599 Other than that GTask is a much more simpler and cleaner API than GSimpleAsyncResult, which is deprecated.
Created attachment 260269 [details] [review] Port gdk_pixbuf_new_from_stream_[at_scale_]async to GTask
Created attachment 260273 [details] [review] Port gdk_pixbuf_save_to_stream_async to GTask
Attachment 260269 [details] pushed as cd64cd3 - Port gdk_pixbuf_new_from_stream_[at_scale_]async to GTask Attachment 260273 [details] pushed as f1f8fb6 - Port gdk_pixbuf_save_to_stream_async to GTask