RE: Unable to catch Gdk::PixbufError

2007-11-18 Thread Murray Cumming
On Sun, 2007-11-18 at 14:28 +0100, [EMAIL PROTECTED] wrote: > > -Original Message- > > From: Murray Cumming [mailto:[EMAIL PROTECTED] > > Sent: zondag 18 november 2007 13:22 > > > > You should generally catch C++ exceptions as const > > references. I've known this to be significant in t

RE: Unable to catch Gdk::PixbufError

2007-11-18 Thread J . B . C . Engelen
> -Original Message- > From: Murray Cumming [mailto:[EMAIL PROTECTED] > Sent: zondag 18 november 2007 13:22 > > You should generally catch C++ exceptions as const > references. I've known this to be significant in the past. Thanks for your answer. Unfortunately, adding const does not wo

Re: Unable to catch Gdk::PixbufError

2007-11-18 Thread Murray Cumming
On Sun, 2007-11-18 at 12:53 +0100, [EMAIL PROTECTED] wrote: > Hello all, > > I am an Inkscape developer and have problems with > Gdk::Pixbuf::create_from_file. > > This is the code we have: > > try { > img = Gdk::Pixbuf::create_from_file(fileName); > } > catch (Glib::FileErr