gtk_init() crashes



Hi,

I'm trying to get a gtk example to run which i just compiled:

russell main~/gtk: ./example

** (example:2922): WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10"
** (example:2922): WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10"
** (example:2922): WARNING **: All font failbacks failed!!!!

In gdb, the crash happens in gtk_init(). How can i trace into gtk_init() with gdb?
I currently compile with:

  CCFLAGS = -Wall -g `pkg-config --cflags glib-2.0 gtk+-2.0` ;
  LINKLIBS = `pkg-config --libs glib-2.0 gtk+-2.0` ;

Can i change what font is to be loaded?

--
debian 2.4.20.




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