panel crashed, segmentation fault

Olivier FOURDAN fourdan.olivier at
Thu Mar 13 10:08:48 CET 2003


I noticed you removed most of the "g_return_if_fail()" statements, putting them under an #ifdef DEBUG/endif

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.

All of GTK is full of those, so removing a few of them in libxfce4mcs won't make things any faster, but definitely less stable...


More information about the Xfce4-dev mailing list