Re: About gsettings aborting on unkown schemas



Hi,

On Mon, May 30, 2011 at 8:17 PM, Morten Welinder <mortenw 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


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