Hi, On Mon, May 30, 2011 at 8:17 PM, Morten Welinder <mort...@gnome.org> wrote: > Doing a g_return_val_if_fail is fine here. That will give the user a > chance of saving his work. This is in contrast to g_error which is a > sure way of eating data.
If that's the argument it's fine. I treat return_if_fail and g_error the same (often setting the env variable to make return_if_fail crash). Havoc _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list