-
Thomas Haller authored
g_set_error(error, 1, 0, ...) is not right. "1" is not a valid GQuark, we should initialize proper error instances. Use nm_utils_error_set() for that. Also, the code previously hacked the numeric value "1" to indicate ambiguous text. Add and use a new error code NM_UTILS_ERROR_AMBIGUOUS for that.