Re: An instance of Gdk::PixbufError is throwing...

2013-10-31 Thread Jens Georg
Hi,

  Glib::RefPtr Gdk::Pixbuf m_pixbuf =
 Gdk::Pixbuf::create_from_file (Glib::build_filename
 (DATADIR, picture.svg), 130, 130);

 Is it normal that this code that ran perfectly in past now produces an
 abortion in runtime ?

 With a message like, 
 terminate called after throwing an instance of 'Gdk::PixbufError'
 Aborted
 I'm using jhbuild branch master, with the following releases,

Did you build librsvg after building gdk-pixbuf? Otherwise you don't
have a SVG GdkPixbufLoader.



___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


Re: An instance of Gdk::PixbufError is throwing...

2013-10-31 Thread Murray Cumming
On Thu, 2013-10-31 at 07:53 +0100, Jens Georg wrote:
 Hi,
 
   Glib::RefPtr Gdk::Pixbuf m_pixbuf =
  Gdk::Pixbuf::create_from_file (Glib::build_filename
  (DATADIR, picture.svg), 130, 130);
 
  Is it normal that this code that ran perfectly in past now produces an
  abortion in runtime ?
 
  With a message like, 
  terminate called after throwing an instance of 'Gdk::PixbufError'
  Aborted
  I'm using jhbuild branch master, with the following releases,
 
 Did you build librsvg after building gdk-pixbuf? Otherwise you don't
 have a SVG GdkPixbufLoader.

Of course, if you actually catch the exception and print out its error
message, you might get a hint.

-- 
Murray Cumming
murr...@murrayc.com
www.murrayc.com
www.openismus.com

___
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list