Remove exit_if_null().
commit0f978cc519016ac1cbb56c772107e1f23c98c831
authorPeter TB Brett <peter@peter-b.co.uk>
Tue, 4 Jan 2011 17:25:51 +0000 (4 17:25 +0000)
committerPeter TB Brett <peter@peter-b.co.uk>
Sat, 10 Dec 2011 22:26:35 +0000 (10 22:26 +0000)
tree93a4d257a958b5b5bddffd457cc36b3ed9f61b93
parent326a4eca0d36eed80a33b201bcbed4942046f61c
Remove exit_if_null().

Replace with g_return_if_fail(), g_return_val_if_fail(), etc.  We
shouldn't exit() from a shared library anyway.

Also, this patch makes gschem *not* crash in a bunch of places where
it doesn't really make sense to just give up.

Affects-bug: lp-698851
gschem/src/i_callbacks.c
gschem/src/x_event.c
libgeda/include/libgeda/prototype.h
libgeda/src/s_basic.c