-
First argument to g_error_new() is an error domain, which is a quark not an enum (IOError.FAILED). So, we use G_IO_ERROR quark here. This should fix the following errors (when the remote iso cannot be downloaded successfully), and display the appropriate error message in the UI. (gnome-boxes:31421): GLib-CRITICAL **: 19:26:39.489: g_error_new: assertion 'domain != 0' failed (gnome-boxes:31421): GLib-GIO-CRITICAL **: 19:26:39.489: g_task_return_error: assertion 'error != NULL' failed