Re: About gsettings aborting on unkown schemas
- From: Havoc Pennington <hp pobox com>
- To: Morten Welinder <mortenw gnome org>
- Cc: Shaun McCance <shaunm gnome org>, gtk-devel-list gnome org
- Subject: Re: About gsettings aborting on unkown schemas
- Date: Mon, 30 May 2011 21:10:01 -0400
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]