Static compilation - pango problems :-/



Hi !

I've got some problems with static compilation and pango.

My application compiles (statically) fine, but when I start it, i get a lot of 
gtk errors, they look like:

== begin ==

(process:12305): GLib-GObject-CRITICAL **: gtype.c:1871: initialization 
assertion failed, use g_type_init()prior to this function

(process:12305): GLib-GObject-CRITICAL **: gtype.c:1871: initialization 
assertion failed, use g_type_init()prior to this function

** (process:12305): CRITICAL **: file pangoxft-font.c: line 772 
(pango_xft_font_get_unknown_glyph): assertion `PANGO_XFT_IS_FONT (font)' 
failed

== end ==
After those errors (few screens of them) application segfaults :-/

I've located line which causes those problems. It's :
gtk_container_add(GTK_CONTAINER(scrolledwindow),textview);

When I comment it, application starts, but all fonts are messed. When I click 
on menu (i.e.) - it segfaults :(
So it seems that's font display problem (in pangoxft). 

Anybody got some ideas ?

I've compiled all libraries (gtk+,pango,atk,glib.... etc) statically.
And I must add, that when I compile this application non-statically - 
everything works just fine.

Cheers,
Przemek Maciolek







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]