Re: [Tracker] Fix for segfault



Samuel Cormier-Iijima wrote:
By the way, ideally the g_return_if_fail functions should only be used
to check for e.g. NULL parameters to the function (since it will
create a warning message) For example, when searching for something
without any results, I get "assertion failed (row != NULL && row[0] !=
NULL)" etc. Some more helpful error messages might be better?

yes please - patches welcome.

If they are caused by an app error then of course we want to keep the g_return stuff as its more visible in the log then.



--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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