[Gnome-print] Gnome Print Patch
- From: Dom Lachowicz <dominicl seas upenn edu>
- To: gnome-print helixcode com, michael helixcode com, mmeeks gnu org
- Subject: [Gnome-print] Gnome Print Patch
- Date: Wed, 12 Apr 2000 17:12:32 -0400
Hi,
A lot of Gnome Font's public API methods don't use g_return_if_fail,
g_return_val_if_fail, GNOME_IS_FONT, and GNOME_IS_FONT_CLASS. I
encountered this when I was writing a small print program and accidently
passed a NULL pointer to a couple of functions and quickly segfaulted.
Here's a small patch that catches a lot of these problems in
libgnomeprint/gnome-font.c
Later,
-Dom
print.patch.gz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]