Gdk::Pixbuf::create_from_file("/path/tux.png"); crashes program



Hello World!

The real line is
Glib::RefPtr< Gdk::Pixbuf > stone_black =
Gdk::Pixbuf::create_from_file("/usr/share/icons/gentoo/48x48/tux.png");

This line make my application crash. The file exists and permissions are
correct. If I comment out this line the application works. ... until
stone_black is accessed but I know where that error comes from :-)

Thanks in advance

Martin



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