Re: Unable to catch Gdk::PixbufError
- From: Murray Cumming <murrayc murrayc com>
- To: Mohammed Sameer <msameer foolab org>
- Cc: gtkmm-list gnome org
- Subject: Re: Unable to catch Gdk::PixbufError
- Date: Tue, 20 Nov 2007 08:17:36 +0100
On Mon, 2007-11-19 at 23:26 +0200, Mohammed Sameer wrote:
> On Mon, Nov 19, 2007 at 07:59:05PM +0100, J B C Engelen ewi utwente nl wrote:
> > Ah ofcourse, sorry. Run Inkscape, and open the "file"->"open..." dialog.
> > The code tries to show a preview of the selected file in the file
> > dialog. Selecting an invalid file (e.g. a 0 byte .jpg file) will throw
> > the exception that is not caught.
>
>
> The only problem is I couldn't reproduce it!!
> I did touch /tmp/foo.jpg
>
> But the exception was caught:
> ** Message: Gdk::PixbufError in SVGPreview::showImage
JBC, are you using some strange distro? Gentoo maybe? Are you mixing
compiler versions?
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]