Whoops. Fixed poor calls to *g_error_new*