style: use g_autoptr and g_steal_pointer with GError
This changes all our uses of g_task_return_error() to use g_steal_pointer() and g_autoptr(GError). This is how I want to see new code written. It also cleans up things here and there as I came across it.
Showing with 134 additions and 161 deletions