> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mohammed Sameer > Sent: maandag 19 november 2007 15:36 > To: [email protected] > Subject: Re: Unable to catch Gdk::PixbufError > > On Sun, Nov 18, 2007 at 10:31:19PM +0100, > [EMAIL PROTECTED] wrote: > > > > Btw, I just tested on Linux. Indeed the simple file works > for me too. > > However, Inkscape still does not catch the exception; it > does not crash either. > > Instead, I get cmdline output: > > > > (inkscape:7556): glibmm-CRITICAL **: > > unhandled exception (type Glib::Error) in signal handler: > > domain: gdk-pixbuf-error-quark > > code : 0 > > what : Image file '/home/johan/Desktop/crash.jpg' contains no data > > > > So something goes wrong in Inkscape on Linux aswell, the > exception is not caught. > > Is the code available somewhere ?
Yes, but please don't get scared by the size of it. svn co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk inkscape The specific code fragment can be found in /src/ui/dialog/filedialogimpl-gtkmm.cpp, line 210. To build Inkscape: There are quite a lot of dependencies that must be resolved, please look on our wiki: http://wiki.inkscape.org/wiki/index.php/CompilingInkscape. When you have troubles join in on our channel :) http://www.inkscape.org/discussion.php?lang=en Thank you very much for having a look at it. Johan _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
