panel crashed, segmentation fault
Benedikt Meurer
Benedikt.Meurer at unix-ag.uni-siegen.de
Thu Mar 13 14:02:15 CET 2003
On Thu, 13, Mar 2003, Olivier FOURDAN wrote:
> Benny,
Hello Olivier,
> I noticed you removed most of the "g_return_if_fail()" statements, putting them under an #ifdef DEBUG/endif
This was only done for static functions, whose arguments are garantied to
be != NULL.
> This is _a_very_bad_idea_! Those tests are there on purpose. If you want to remove them at compile time, there is a glib option that ignores all those statements, but still, this is a bad idea to remove them all together.
Ok, I'll revert the change.
> Cheers,
> Olivier.
regards,
Benedikt
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
More information about the Xfce4-dev
mailing list