[Gnome-print] Gnome Print Patch



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]