Gdk::Pixbuf::create_from_file("/path/tux.png"); crashes program
- From: Martin Metzker <martinmetzker gmx net>
- To: gtkmm-list gnome org
- Subject: Gdk::Pixbuf::create_from_file("/path/tux.png"); crashes program
- Date: Mon, 24 Sep 2007 02:17:21 +0200
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]