Re: Add some conversion checks to GtkFileSelection (bug 50298)



On 5 Mar 2001, Owen Taylor wrote:

> 
> This error seems a bit unecessarily cryptic. In the case of 
> g_error_matches (error, G_CONVERT_ERROR, G_CONVERT_ERROR_ILLEGAL_SEQUENCE), we


eek, that needs s/ILLEGAL/INVALID/.
(re- GNU Coding Style for motivation)

> probably can say:
> 
>  "The directory name "FOO" contains symbols that are not allowed in filenames"
> 
> If a different error is returned, something is screwed up, and just reporting
> the error from g_convert() is probably fine.
> 
> 
> Regards,
>                                         Owen
> 

---
ciaoTJ





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]