[poppler] API: Help getting PDF page into pixbuf

Angus March angus at uducat.com
Fri May 1 12:45:06 PDT 2009


Dominic Lachowicz wrote:
> On Fri, May 1, 2009 at 3:19 PM, Angus March <angus at uducat.com> wrote:
>   
>> Dominic Lachowicz wrote:
>>     
>>> Maybe you could post your code somewhere, like a pastebin. Have you
>>> called g_type_init() at the beginning of your program?
>>>
>>>       
>>    No. Looking it up I see that the function is deprecated--they don't
>> say what I should be using instead.
>>     
>
> It's not deprecated. "Prior to any use of the type system,
> g_type_init() has to be called to initialize the type system and
> assorted other code portions (such as the various fundamental type
> implementations or the signal system)."
>
> http://library.gnome.org/devel/gobject/stable/gobject-Type-Information.html#g-type-init
>   

   
http://library.gnome.org/devel/gtk/stable/gtk-Types.html#gtk-type-init
says different.
    "|gtk_type_init| is deprecated and should not be used in
newly-written code."
    What do I do about the quality problem.


More information about the poppler mailing list