Re: gdk_pixbuf_loader_write and short files



"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]