[poppler] poppler-glib

Kristian Høgsberg krh at bitplanet.net
Fri Mar 18 11:56:26 PST 2005


Jeff Muizelaar wrote:
> On Fri, Mar 18, 2005 at 11:16:49AM -0500, Kristian H??gsberg wrote:
> 
>>Jeff Muizelaar wrote:
>>
>>>like we discussed on irc, instead of using **error this should just
>>>return a locked document if it is encrypted and no document if it fails.
>>
>>It can still fail for various other reasons; file not found or invalid 
>>document...
> 
> 
> Yeah I can see those two being a useful distinction to make. However, I
> don't know if it is worth the API uglyness. Currently, both kpdf and
> evince don't distinguish between those conditions.

Well, the GError thing is a standard mechanism for glib programs -- even 
if it's weird, it's what people are used to.  And it's not that bad...

http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-file-loading.html

cheers,
Kristian


More information about the poppler mailing list