
14 Apr
2005
14 Apr
'05
10:19 p.m.
Peter Moulder suggerì:
g_log... g_warning... fprintf(stderr... magic dialog output...
For messages that aren't bugs and that the user needs to see (e.g. file not found, failed to parse, etc.), I suggest that we have a function that checks for gui-ness and either presents an alert dialog box or writes to stderr as appropriate. The code at the end of inkscape.cpp:inkscape_segv_handler looks appropriate.
GError could be useful to propagate cleanly errors. They require only a little effort to setup.
--
Buongiorno.
Complimenti per l'ottima scelta.