Re: gdk_pixbuf_loader_write and short files
- From: Havoc Pennington <hp redhat com>
- To: "Matthias Clasen" <matthiasc poet de>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: gdk_pixbuf_loader_write and short files
- Date: 28 Aug 2001 18:01:32 -0400
"Matthias Clasen" <matthiasc poet de> writes:
> So it seems that both ways of checking load_module errors are acceptable.
> Tell
> me which style you prefer and I'll adjust my patch.
>
Either is fine, assuming 0 is never a valid return. (i.e. assuming if
0 is returned we can g_assert (err != NULL)). I probably wrote the tmp
!= NULL one, because I was too lazy to figure that out. ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]