Re: [Tracker] [PATCH] Some smaller 'style' fixes and a missing g_free ()

On Sun, 2007-07-15 at 00:43 +0200, Marcus Fritzsch wrote:

i took a look over some code and changed some minor points - nothing grave ;)

One question: is g_return_... prefered for invalid input parameters,
or also for errors coming up within the function context? My current
setting is the first one ;) (see patch line 36 and 37)

yes g_return is preferred for invalid params as it should print the
error on the console and in xsession-errors

patch applied - thx

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